Browse Source

Change default permissions

pull/2238/head
byunghwa.yun 3 years ago
parent
commit
f3dc909b21
  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{ Attr: Attr{
Mtime: now, Mtime: now,
Crtime: now, Crtime: now,
Mode: os.ModeDir | entry.Mode | 0110,
Mode: os.ModeDir | entry.Mode | 0111,
Uid: entry.Uid, Uid: entry.Uid,
Gid: entry.Gid, Gid: entry.Gid,
Collection: entry.Collection, Collection: entry.Collection,

Loading…
Cancel
Save