diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-04-29 10:42:09 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-04-29 10:42:09 -0700 |
| commit | 82e06a780bb12adc47d6036067164c2fd02a25c4 (patch) | |
| tree | e5fc22fe3ce404fa4e082672323ad7296fe8a90e | |
| parent | ed0b2d62fba29dc4feb6a7481e81ee8452cff287 (diff) | |
| download | seaweedfs-82e06a780bb12adc47d6036067164c2fd02a25c4.tar.xz seaweedfs-82e06a780bb12adc47d6036067164c2fd02a25c4.zip | |
mount: allow nonempty fuse mount to work with Samba
possibly fix https://github.com/chrislusf/seaweedfs/issues/936
| -rw-r--r-- | weed/command/mount_std.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 101f6a852..33d0332cf 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -74,6 +74,7 @@ func runMount(cmd *Command, args []string) bool { fuse.MaxReadahead(1024 * 128), fuse.AsyncRead(), fuse.WritebackCache(), + fuse.AllowNonEmptyMount(), } if *mountOptions.allowOthers { options = append(options, fuse.AllowOther()) |
