1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-24 12:19:59 +02:00

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.AsyncRead(),
fuse.WritebackCache(),
fuse.AllowNonEmptyMount(),
}
if *mountOptions.allowOthers {
options = append(options, fuse.AllowOther())