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

This commit is contained in:
Andy Hsu 2023-02-04 12:11:13 +08:00
parent 36e0d6f787
commit 51f5d1b3c4

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
}