diff options
| author | hilimd <68371223+hilimd@users.noreply.github.com> | 2020-09-23 17:32:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-23 17:32:05 +0800 |
| commit | 0db149fb5f73694866c5f09d29f4ffae8bacad51 (patch) | |
| tree | 37bb9cee8e6d2ded3c6e79e7719efca5ea52be28 /weed/command | |
| parent | d506080c36297f5b9320a292e5f9e0896bd3bccb (diff) | |
| parent | f7a0ccb595edb51498aeb61aa0e09ac93228b007 (diff) | |
| download | seaweedfs-0db149fb5f73694866c5f09d29f4ffae8bacad51.tar.xz seaweedfs-0db149fb5f73694866c5f09d29f4ffae8bacad51.zip | |
Merge pull request #18 from chrislusf/master
sync
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/mount_std.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 44e945f23..3947a871a 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -91,7 +91,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { // detect mount folder mode if *option.dirAutoCreate { - os.MkdirAll(dir, 0755) + os.MkdirAll(dir, os.FileMode(0777) &^ umask) } mountMode := os.ModeDir | 0755 fileInfo, err := os.Stat(dir) |
