aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 1d929dc96..1aff3c5bb 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -175,7 +175,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
FsName: serverFriendlyName + ":" + filerMountRootPath,
Name: "seaweedfs",
SingleThreaded: false,
- DisableXAttrs: false,
+ DisableXAttrs: *option.disableXAttr,
Debug: *option.debug,
EnableLocks: false,
ExplicitDataCacheControl: false,
@@ -238,6 +238,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
VolumeServerAccess: *mountOptions.volumeServerAccess,
Cipher: cipher,
UidGidMapper: uidGidMapper,
+ DisableXAttr: *option.disableXAttr,
})
server, err := fuse.NewServer(seaweedFileSystem, dir, fuseMountOptions)