From 77397be0706f7aee508369cd9507f091a6436993 Mon Sep 17 00:00:00 2001 From: Erik Jacobson Date: Mon, 16 Jun 2025 10:45:05 -0500 Subject: [PATCH] allow distro mount command to use disableXAttr (#6872) --- weed/command/fuse_std.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/weed/command/fuse_std.go b/weed/command/fuse_std.go index 5e1d2eee4..b2839aaf8 100644 --- a/weed/command/fuse_std.go +++ b/weed/command/fuse_std.go @@ -193,6 +193,13 @@ func runFuse(cmd *Command, args []string) bool { } else { panic(fmt.Errorf("readOnly: %s", err)) } + case "disableXAttr": + if parsed, err := strconv.ParseBool(parameter.value); err == nil { + + mountOptions.disableXAttr = &parsed + } else { + panic(fmt.Errorf("disableXAttr: %s", err)) + } case "cpuprofile": mountCpuProfile = ¶meter.value case "memprofile":