aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-06 20:27:12 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-06 20:27:12 -0700
commit679f800caafff8b31c645755d4316da543f5e99d (patch)
treed0cce2379a5d335d2b30fcffd3786493cae364e7 /weed/filer/filer.go
parent286e5dd37525787b0610c41a2bb18a947a429d7d (diff)
parent0c0f77e2ae45e1f905d33bf9cf129667665121ab (diff)
downloadseaweedfs-679f800caafff8b31c645755d4316da543f5e99d.tar.xz
seaweedfs-679f800caafff8b31c645755d4316da543f5e99d.zip
Merge branch 'master' into add_remote_storage
Diffstat (limited to 'weed/filer/filer.go')
-rw-r--r--weed/filer/filer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/filer.go b/weed/filer/filer.go
index 162db175a..1a20abefc 100644
--- a/weed/filer/filer.go
+++ b/weed/filer/filer.go
@@ -209,7 +209,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,