mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
mount: allow nonempty fuse mount to work with Samba
possibly fix https://github.com/chrislusf/seaweedfs/issues/936
This commit is contained in:
parent
ed0b2d62fb
commit
82e06a780b
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue