mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
Fix mode of created directories in mountie
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
26b6a0cbdd
commit
1412cf8835
@ -159,7 +159,7 @@ func main() {
|
|||||||
log.Fatalf("Too many arguments")
|
log.Fatalf("Too many arguments")
|
||||||
}
|
}
|
||||||
|
|
||||||
err := os.MkdirAll(mountpoint, os.ModeDir)
|
err := os.MkdirAll(mountpoint, 0755)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Unable to create mountpoint %s: %v", mountpoint, err)
|
log.Fatalf("Unable to create mountpoint %s: %v", mountpoint, err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user