nixos/security/wrappers: fix fuse path

This commit is contained in:
oxalica 2023-01-07 21:16:22 +08:00
parent c7c65ef049
commit f534f74249
No known key found for this signature in database
GPG Key ID: D425CB23CADE82D9

View File

@ -249,8 +249,8 @@ in
};
in
{ # These are mount related wrappers that require the +s permission.
fusermount = mkSetuidRoot "${pkgs.fuse}/bin/fusermount";
fusermount3 = mkSetuidRoot "${pkgs.fuse3}/bin/fusermount3";
fusermount = mkSetuidRoot "${lib.getBin pkgs.fuse}/bin/fusermount";
fusermount3 = mkSetuidRoot "${lib.getBin pkgs.fuse3}/bin/fusermount3";
mount = mkSetuidRoot "${lib.getBin pkgs.util-linux}/bin/mount";
umount = mkSetuidRoot "${lib.getBin pkgs.util-linux}/bin/umount";
};