mount: allow nonempty fuse mount to work with Samba
possibly fix https://github.com/chrislusf/seaweedfs/issues/936
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user