about summary refs log tree commit diff
path: root/scripts/nix-pull-prebuilts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-05-30T20·53+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-05-30T20·53+0000
commitf66055fa1ef3eb208666b5ace7b5ab16bf7e8980 (patch)
treed9fd192f682e45a53f5dcd00062dd6b3ddc24042 /scripts/nix-pull-prebuilts
parent5908663f4209eed632b3973c97b25ff5a3dd3b17 (diff)
* Set umask to 0022 on startup.
Diffstat (limited to 'scripts/nix-pull-prebuilts')
-rwxr-xr-xscripts/nix-pull-prebuilts2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/nix-pull-prebuilts b/scripts/nix-pull-prebuilts
index 9cc6683378df..3d045b46302f 100755
--- a/scripts/nix-pull-prebuilts
+++ b/scripts/nix-pull-prebuilts
@@ -7,6 +7,8 @@ my $tmpfile = "$prefix/var/nix/prebuilts.tmp";
 
 my $conffile = "$etcdir/prebuilts.conf";
 
+umask 0022;
+
 sub register {
     my $fn = shift;
     my $url = shift;