Default should be to set owner and group to root on setcap wrappers too

This commit is contained in:
Parnell Springmeyer 2017-02-14 08:40:12 -06:00
parent c01689f8da
commit e856d6efe8
No known key found for this signature in database
GPG Key ID: DCCF89258EAD874A

View File

@ -73,7 +73,10 @@ let
mkWrappedPrograms =
builtins.map
(s: if (s ? "capabilities")
then mkSetcapProgram s
then mkSetcapProgram
({ owner = "root";
, group = "root";
} // s)
else if
(s ? "setuid" && s.setuid == true) ||
(s ? "setguid" && s.setguid == true) ||