Skip to content

Commit

Permalink
add default mount option to FUSE-T mounter
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Sep 18, 2024
1 parent c3b1315 commit 8287243
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public int getDefaultLoopbackPort() {
public String getDefaultMountFlags() {
// see: https://github.com/macos-fuse-t/fuse-t/wiki#supported-mount-options
try {
return "-orwsize=262144" //
return "-o nonamedattr"//
+ " -orwsize=262144" //
+ " -ouid=" + Files.getAttribute(USER_HOME, "unix:uid") //
+ " -ogid=" + Files.getAttribute(USER_HOME, "unix:gid");
} catch (IOException e) {
Expand Down

0 comments on commit 8287243

Please sign in to comment.