From 6938cf61a08a13f1326e566196a1851907b05c3a Mon Sep 17 00:00:00 2001 From: Son Roy Almerol Date: Tue, 25 Feb 2025 22:28:31 -0500 Subject: [PATCH] disable xattrs and readdirplus --- internal/backend/arpc/fuse/fuse.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/internal/backend/arpc/fuse/fuse.go b/internal/backend/arpc/fuse/fuse.go index bab9124..4a74137 100644 --- a/internal/backend/arpc/fuse/fuse.go +++ b/internal/backend/arpc/fuse/fuse.go @@ -30,10 +30,16 @@ func Mount(mountpoint string, fsName string, afs *arpcfs.ARPCFS) (*fuse.Server, options := &fs.Options{ MountOptions: fuse.MountOptions{ - Debug: true, - FsName: fsName, - Name: "pbsagent", - AllowOther: true, + Debug: true, + FsName: fsName, + Name: "pbsagent", + AllowOther: true, + DisableXAttrs: true, + DisableReadDirPlus: true, + Options: []string{ + "ro", + "allow_other", + }, }, // Use sensible cache timeouts EntryTimeout: &timeout,