Browse Source

Merge pull request #2238 from combineads/change_default_mode

Change default permissions
pull/2252/head
Chris Lu 3 years ago
committed by GitHub
parent
commit
d2b23f3d38
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/filer/filer.go

2
weed/filer/filer.go

@ -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,

Loading…
Cancel
Save