aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/wfs.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-07-24 00:03:05 -0700
committerChris Lu <chris.lu@gmail.com>2019-07-24 00:03:05 -0700
commit5956dfd08d690ee67bcd4a7f5730785f7a6df201 (patch)
tree0ec5f401c2129e9ea5bb9e21b3acfe3d0f5dafe3 /weed/filesys/wfs.go
parent3f851feb59d9ffc80ac366222435eb54f98456ad (diff)
downloadseaweedfs-5956dfd08d690ee67bcd4a7f5730785f7a6df201.tar.xz
seaweedfs-5956dfd08d690ee67bcd4a7f5730785f7a6df201.zip
mount: add umask option
related to https://github.com/chrislusf/seaweedfs/issues/978
Diffstat (limited to 'weed/filesys/wfs.go')
-rw-r--r--weed/filesys/wfs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go
index 9018c36ed..1bd9b5cc9 100644
--- a/weed/filesys/wfs.go
+++ b/weed/filesys/wfs.go
@@ -28,6 +28,7 @@ type Option struct {
DataCenter string
DirListingLimit int
EntryCacheTtl time.Duration
+ Umask os.FileMode
MountUid uint32
MountGid uint32