[Nix-dev] umask and rebuild switch

Lluís Batlle i Rossell viric at viric.name
Thu Mar 22 00:31:54 CET 2012


Hello,

I screwed quite enough things today...

I was running a root shell with "umask 200", and I typed: nixos-rebuild switch

That made all my /var/setuid-wrappers with bad permissions for the ".real"
files, namely "600", and things like sendmail (owned by nobody) couldn't read
the '.real' file, and failed. No mail.

Maybe the activation script should send the umask?

Regards,
Lluís.


More information about the nix-dev mailing list