[Nix-dev] Umask Setting in NixOS

Vladimír Čunát vcunat at gmail.com
Sun Jun 26 11:27:08 CEST 2016


On 06/22/2016 04:21 PM, Roger Qiu wrote:
> 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.

Maybe there's nothing in NixOS that effectively sets a default. From
"man 2 umask":
> The typical default value for the process umask is S_IWGRP | S_IWOTH
(octal 022).

--Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160626/c81339c9/attachment-0001.p7s>


More information about the nix-dev mailing list