aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorlimd <limd@sugon.com>2020-09-23 18:35:37 +0800
committerlimd <limd@sugon.com>2020-09-23 18:35:37 +0800
commit9b21ec27e46ed68ef1daa4a94fd1a4b621ab39fe (patch)
tree9f871367aa2dcb2feab12494e5055ad83a1a4b4a /weed/command/mount.go
parent0db149fb5f73694866c5f09d29f4ffae8bacad51 (diff)
downloadseaweedfs-9b21ec27e46ed68ef1daa4a94fd1a4b621ab39fe.tar.xz
seaweedfs-9b21ec27e46ed68ef1daa4a94fd1a4b621ab39fe.zip
mount: auto created dir set corrct umask fix bug
Diffstat (limited to 'weed/command/mount.go')
-rw-r--r--weed/command/mount.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go
index 7bf59cdc7..a359e52ac 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -44,7 +44,7 @@ func init() {
mountOptions.cacheSizeMB = cmdMount.Flag.Int64("cacheCapacityMB", 1000, "local file chunk cache capacity in MB (0 will disable cache)")
mountOptions.dataCenter = cmdMount.Flag.String("dataCenter", "", "prefer to write to the data center")
mountOptions.allowOthers = cmdMount.Flag.Bool("allowOthers", true, "allows other users to access the file system")
- mountOptions.umaskString = cmdMount.Flag.String("umask", "022", "octal umask, e.g., 022, 0111")
+ mountOptions.umaskString = cmdMount.Flag.String("umask", "000", "octal umask, e.g., 022, 0111")
mountOptions.nonempty = cmdMount.Flag.Bool("nonempty", false, "allows the mounting over a non-empty directory")
mountCpuProfile = cmdMount.Flag.String("cpuprofile", "", "cpu profile output file")
mountMemProfile = cmdMount.Flag.String("memprofile", "", "memory profile output file")