suid-chroot: do not set suid bit during install
To be useful in nixos, it probably also requires a module to set up a hardening wrapper.
commit855c1bde4285b3ece6c6a6bbd475b36ea0bc10b1
authorJörg Thalheim <joerg@thalheim.io>
dateWed 28 Jun 2017, 15:58 (9 years ago)
parent5015dea
pkgs/tools/system/suid-chroot/default.nix+1
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 postPatch = ''
1313 substituteInPlace Makefile --replace /usr $out
14+ sed -i -e '/chmod u+s/d' Makefile
1415 '';
1516
1617 meta = with stdenv.lib; {