fix(local): set perm `0777` for folder (close #2996)

pull/3279/head
Andy Hsu 2023-02-04 12:11:13 +08:00
parent 36e0d6f787
commit 51f5d1b3c4
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ func (d *Local) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (
func (d *Local) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error {
fullPath := filepath.Join(parentDir.GetPath(), dirName)
err := os.MkdirAll(fullPath, 0700)
err := os.MkdirAll(fullPath, 0777)
if err != nil {
return err
}