Skip to content

Commit

Permalink
suid-chroot: do not set suid bit during install
Browse files Browse the repository at this point in the history
To be useful in nixos, it probably also requires a module to set up a hardening wrapper.
  • Loading branch information
Mic92 committed Jun 28, 2017
1 parent 5015dea commit 855c1bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/tools/system/suid-chroot/default.nix
Expand Up @@ -11,6 +11,7 @@ stdenv.mkDerivation rec {

postPatch = ''
substituteInPlace Makefile --replace /usr $out
sed -i -e '/chmod u+s/d' Makefile
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 855c1bd

Please sign in to comment.