vfs graphdriver: Make root dir mode 755
This matches the other backends. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) Upstream-commit: 84f19a09ac1bb6221aeafd858306b097203aa974 Component: engine
This commit is contained in:
@ -47,7 +47,7 @@ func (d *Driver) Create(id, parent string) error {
|
||||
if err := os.MkdirAll(path.Dir(dir), 0700); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := os.Mkdir(dir, 0700); err != nil {
|
||||
if err := os.Mkdir(dir, 0755); err != nil {
|
||||
return err
|
||||
}
|
||||
if parent == "" {
|
||||
|
||||
Reference in New Issue
Block a user