From 82e06a780bb12adc47d6036067164c2fd02a25c4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 29 Apr 2019 10:42:09 -0700 Subject: [PATCH] mount: allow nonempty fuse mount to work with Samba possibly fix https://github.com/chrislusf/seaweedfs/issues/936 --- weed/command/mount_std.go | 1 + 1 file changed, 1 insertion(+) 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())