From f3dc909b21c2d4cc2f310b4205e56f1795713d77 Mon Sep 17 00:00:00 2001 From: "byunghwa.yun" Date: Fri, 6 Aug 2021 12:24:35 +0900 Subject: [PATCH] Change default permissions --- weed/filer/filer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/filer.go b/weed/filer/filer.go index d4c0b4eef..862f98496 100644 --- a/weed/filer/filer.go +++ b/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,