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
commit 6200038bc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
}