[Nix-dev] warning, setuidOwners programs are added to setuid list now - r12639

Marc Weber marco-oweber at gmx.de
Sat Aug 16 03:08:10 CEST 2008


was :
extraSetuidPrograms = [];
setuidOwners = map (x : {
  program = x;
  owner = "postfix";
  group = "postdrop";
  setuid = false;
  setgid = true;
} ) [ "sendmail" "postdrop" ];

resulted in

chown: cannot access `/var/setuid-wrappers/sendmail': No such file or directory
chown: cannot access `/var/setuid-wrappers/postdrop': No such file or directory

Now using setuidOwners will add the programs to the list of setuid
programs automatically, so you no longer get this error but a setuid
wrapper. Thus you should check your configuration files that this commit
doesn't make programs setuid by accident on your next rebuild

the description of setuidOwners doesn't tell you to additionally
add the programs to setuid list. So the new behaviour is probably the
way it should have been and it is now.

Sincerly
Marc Weber



More information about the nix-dev mailing list