Merge pull request #2238 from combineads/change_default_mode

Change default permissions
This commit is contained in:
Chris Lu authored and GitHub committed 2021-08-05 21:28:06 -07:00
commit d2b23f3d38
1 file changed
+1 -1
+1 -1
View File
@@ -207,7 +207,7 @@ func (f *Filer) ensureParentDirecotryEntry(ctx context.Context, entry *Entry, di
Attr: Attr{
Mtime: now,
Crtime: now,
Mode: os.ModeDir | entry.Mode | 0110,
Mode: os.ModeDir | entry.Mode | 0111,
Uid: entry.Uid,
Gid: entry.Gid,
Collection: entry.Collection,