Browse Source

mount: allow nonempty fuse mount to work with Samba

possibly fix https://github.com/chrislusf/seaweedfs/issues/936
pull/948/head
Chris Lu 6 years ago
parent
commit
82e06a780b
  1. 1
      weed/command/mount_std.go

1
weed/command/mount_std.go

@ -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…
Cancel
Save