diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-10-30 21:58:37 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-10-30 21:59:37 +0000 |
commit | f2621d4ba86d7f78911c7a2e28d8883b57d1c65a (patch) | |
tree | b9b9d272a9424b7527ec232d01593748ca1270c5 /nixos/modules/installer/tools | |
parent | e2edccae47dc4972ec16bdeb6eb5374f7631fea8 (diff) | |
download | nixlib-f2621d4ba86d7f78911c7a2e28d8883b57d1c65a.tar nixlib-f2621d4ba86d7f78911c7a2e28d8883b57d1c65a.tar.gz nixlib-f2621d4ba86d7f78911c7a2e28d8883b57d1c65a.tar.bz2 nixlib-f2621d4ba86d7f78911c7a2e28d8883b57d1c65a.tar.lz nixlib-f2621d4ba86d7f78911c7a2e28d8883b57d1c65a.tar.xz nixlib-f2621d4ba86d7f78911c7a2e28d8883b57d1c65a.tar.zst nixlib-f2621d4ba86d7f78911c7a2e28d8883b57d1c65a.zip |
nixos-generate-config: enforce umask 0022, fixes #30954
Diffstat (limited to 'nixos/modules/installer/tools')
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index c0df2977856e..7c737e84de0a 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -8,6 +8,7 @@ use File::Basename; use File::Slurp; use File::stat; +umask(0022); sub uniq { my %seen; |