Merge pull request #31007 from yegortimoshenko/nixos-generate-config/umask

nixos-generate-config: enforce umask 0022, fixes #30954
This commit is contained in:
Orivej Desh 2017-11-01 01:58:34 +00:00 committed by GitHub
commit efea96ddca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ use File::Basename;
use File::Slurp;
use File::stat;
umask(0022);
sub uniq {
my %seen;