Skip to content

Commit

Permalink
nixos-generate-config: enforce umask 0022, fixes #30954
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Oct 30, 2017
1 parent e2edcca commit f2621d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/installer/tools/nixos-generate-config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use File::Slurp;
use File::stat;

umask(0022);

sub uniq {
my %seen;
Expand Down

0 comments on commit f2621d4

Please sign in to comment.