summaryrefslogtreecommitdiff
path: root/pkg/system/filesys_unix.go
blob: 3801129404958b4eea8b8c76f60e83269982ff67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//go:build !windows
// +build !windows

package system // import "github.com/docker/docker/pkg/system"

import "os"

// MkdirAllWithACL is a wrapper for os.MkdirAll on unix systems.
func MkdirAllWithACL(path string, perm os.FileMode, sddl string) error {
	return os.MkdirAll(path, perm)
}

// MkdirAll creates a directory named path along with any necessary parents,
// with permission specified by attribute perm for all dir created.
func MkdirAll(path string, perm os.FileMode) error {
	return os.MkdirAll(path, perm)
}