filesys_unix.go 503 B

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