aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-29 10:42:09 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-29 10:42:09 -0700
commit82e06a780bb12adc47d6036067164c2fd02a25c4 (patch)
treee5fc22fe3ce404fa4e082672323ad7296fe8a90e /weed/command
parented0b2d62fba29dc4feb6a7481e81ee8452cff287 (diff)
downloadseaweedfs-82e06a780bb12adc47d6036067164c2fd02a25c4.tar.xz
seaweedfs-82e06a780bb12adc47d6036067164c2fd02a25c4.zip
mount: allow nonempty fuse mount to work with Samba
possibly fix https://github.com/chrislusf/seaweedfs/issues/936
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/mount_std.go1
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())