Skip to content

Commit

Permalink
general: disable passthrough chmod for fuse.bindfs mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
xddxdd committed Mar 4, 2024
1 parent 5582a23 commit 36b5a88
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions hosts/lt-home-vm/shares.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"perms=700"
"create-for-user=lantian"
"create-for-group=users"
"chmod-ignore"
"chown-ignore"
"chgrp-ignore"
"xattr-none"
Expand Down
13 changes: 8 additions & 5 deletions nixos/optional-apps/palworld.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,13 @@ in {
${pkgs.palworld-exporter}/bin/palworld_exporter
'';

serviceConfig = LT.serviceHarden // {
User = "palworld";
Group = "palworld";
Restart = "on-failure";
};
serviceConfig =
LT.serviceHarden
// {
User = "palworld";
Group = "palworld";
Restart = "on-failure";
};
};

systemd.services.palworld-backup = {
Expand Down Expand Up @@ -154,6 +156,7 @@ in {
"perms=700"
"create-for-user=root"
"create-for-group=root"
"chmod-ignore"
"chown-ignore"
"chgrp-ignore"
"xattr-none"
Expand Down
1 change: 1 addition & 0 deletions nixos/optional-apps/resilio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ in {
"perms=700"
"create-for-user=root"
"create-for-group=root"
"chmod-ignore"
"chown-ignore"
"chgrp-ignore"
"xattr-none"
Expand Down
1 change: 1 addition & 0 deletions nixos/optional-apps/syncthing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"perms=700"
"create-for-user=root"
"create-for-group=root"
"chmod-ignore"
"chown-ignore"
"chgrp-ignore"
"xattr-none"
Expand Down

0 comments on commit 36b5a88

Please sign in to comment.