full diff: https://github.com/moby/sys/compare/user/v0.3.0...user/v0.4.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
358 B
Go
14 lines
358 B
Go
package user
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// This is currently a wrapper around [os.MkdirAll] since currently
|
|
// permissions aren't set through this path, the identity isn't utilized.
|
|
// Ownership is handled elsewhere, but in the future could be support here
|
|
// too.
|
|
func mkdirAs(path string, _ os.FileMode, _, _ int, _, _ bool) error {
|
|
return os.MkdirAll(path, 0)
|
|
}
|