diff options
| author | byunghwa.yun <combine@combineads.co.kr> | 2021-08-06 12:24:35 +0900 |
|---|---|---|
| committer | byunghwa.yun <combine@combineads.co.kr> | 2021-08-06 12:24:35 +0900 |
| commit | f3dc909b21c2d4cc2f310b4205e56f1795713d77 (patch) | |
| tree | e1aa900929177a6345e6454fed535a35d0c80cc2 | |
| parent | 8cf0c515bfb45c5d8e6c71f96c43f91cae30ea9d (diff) | |
| download | seaweedfs-f3dc909b21c2d4cc2f310b4205e56f1795713d77.tar.xz seaweedfs-f3dc909b21c2d4cc2f310b4205e56f1795713d77.zip | |
Change default permissions
| -rw-r--r-- | weed/filer/filer.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
