Skip to content

Commit 855c1bd

Browse files
committedJun 28, 2017
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.
1 parent 5015dea commit 855c1bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkgs/tools/system/suid-chroot/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -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; {

0 commit comments

Comments
 (0)
Please sign in to comment.