forked from mirrors/nixpkgs
Default should be to set owner and group to root on setcap wrappers too
This commit is contained in:
parent
c01689f8da
commit
e856d6efe8
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue