[Nix-dev] Umask Setting in NixOS
Roger Qiu
roger.qiu at matrix.ai
Sun Jun 26 10:14:20 CEST 2016
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.qiu at 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
More information about the nix-dev
mailing list