Merge pull request #31007 from yegortimoshenko/nixos-generate-config/umask
nixos-generate-config: enforce umask 0022, fixes #30954
This commit is contained in:
commit
efea96ddca
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ use File::Basename;
|
|||
use File::Slurp;
|
||||
use File::stat;
|
||||
|
||||
umask(0022);
|
||||
|
||||
sub uniq {
|
||||
my %seen;
|
||||
|
|
Loading…
Reference in a new issue