filesys_unix.go 522 B

1234567891011121314151617
  1. //go:build !windows
  2. // +build !windows
  3. package system // import "github.com/docker/docker/pkg/system"
  4. import "os"
  5. // MkdirAllWithACL is a wrapper for os.MkdirAll on unix systems.
  6. func MkdirAllWithACL(path string, perm os.FileMode, sddl string) error {
  7. return os.MkdirAll(path, perm)
  8. }
  9. // MkdirAll creates a directory named path along with any necessary parents,
  10. // with permission specified by attribute perm for all dir created.
  11. func MkdirAll(path string, perm os.FileMode) error {
  12. return os.MkdirAll(path, perm)
  13. }