mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
nixos: add setuid wrappers for some networked filesystems' helpers
So that `user` mount option would work allowing normal users to mount and umount stuff marked with it in `fileSystems.<name>.options`.
This commit is contained in:
parent
8c9b6d932a
commit
26a4001a98
@ -77,7 +77,9 @@ in
|
||||
config = {
|
||||
|
||||
security.setuidPrograms =
|
||||
[ "fusermount" "wodim" "cdrdao" "growisofs" ];
|
||||
[ "mount.nfs" "mount.nfs4" "mount.cifs"
|
||||
"fusermount" "umount"
|
||||
"wodim" "cdrdao" "growisofs" ];
|
||||
|
||||
system.activationScripts.setuid =
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user