diff options
| author | limd <limd@sugon.com> | 2020-09-25 09:18:52 +0800 |
|---|---|---|
| committer | limd <limd@sugon.com> | 2020-09-25 09:18:52 +0800 |
| commit | 48c578410fea2128f81356250b2cd9d56074d878 (patch) | |
| tree | 1f47ec893b6d87175011d5ae287b9eb760a95083 | |
| parent | cbca14edc562889f866ec5b1228f44950c48dff5 (diff) | |
| download | seaweedfs-48c578410fea2128f81356250b2cd9d56074d878.tar.xz seaweedfs-48c578410fea2128f81356250b2cd9d56074d878.zip | |
mount: rollback default value
| -rw-r--r-- | weed/command/mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index a359e52ac..7bf59cdc7 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", "000", "octal umask, e.g., 022, 0111") + mountOptions.umaskString = cmdMount.Flag.String("umask", "022", "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") |
