Yep I know how I can override it. I'm just curious what's setting it to `022`. The only culprit I can see is the default activation script. However that shouldn't leak into the user shell context.

On 26/06/2016 2:23 AM, Игорь Пашев wrote:
I would set in one of the shell initialization scripts, like

   programs.bash.interactiveShellInit = ''
     umask ...
   '';

Or, for services, in systemd service options / scripts

2016-06-22 17:21 GMT+03:00 Roger Qiu <roger....@matrix.ai>:
Hi,

In a new installation of NixOS, the umask command gives me back `022`. I was
wondering where is this being set? The `/etc/login.defs` say `UMASK 077` but
that doesn't match what the command is giving.

--
Founder of Matrix AI
https://matrix.ai/
+61420925975

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to