mount: allow nonempty fuse mount to work with Samba

possibly fix https://github.com/chrislusf/seaweedfs/issues/936
This commit is contained in:
Chris Lu 2019-04-29 10:42:09 -07:00
parent ed0b2d62fb
commit 82e06a780b

View file

@ -74,6 +74,7 @@ func runMount(cmd *Command, args []string) bool {
fuse.MaxReadahead(1024 * 128), fuse.MaxReadahead(1024 * 128),
fuse.AsyncRead(), fuse.AsyncRead(),
fuse.WritebackCache(), fuse.WritebackCache(),
fuse.AllowNonEmptyMount(),
} }
if *mountOptions.allowOthers { if *mountOptions.allowOthers {
options = append(options, fuse.AllowOther()) options = append(options, fuse.AllowOther())