0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos-generate-config: enforce umask 0022, fixes #30954

This commit is contained in:
Yegor Timoshenko 2017-10-30 21:58:37 +00:00
parent e2edccae47
commit f2621d4ba8

View file

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