Skip to content

Commit

Permalink
disable xattrs and readdirplus
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol committed Feb 26, 2025
1 parent 62a0ffa commit 6938cf6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions internal/backend/arpc/fuse/fuse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6938cf6

Please sign in to comment.