Merge pull request #3204 from stefannica/fsDriverRelaxedPermissions

Relax filesystem driver folder permissions to 0777
This commit is contained in:
João Pereira
2021-02-06 16:12:02 +00:00
committed by GitHub

View File

@@ -260,7 +260,7 @@ func (d *driver) Move(ctx context.Context, sourcePath string, destPath string) e
return storagedriver.PathNotFoundError{Path: sourcePath}
}
if err := os.MkdirAll(path.Dir(dest), 0755); err != nil {
if err := os.MkdirAll(path.Dir(dest), 0777); err != nil {
return err
}