about summary refs log tree commit diff
path: root/scripts/nix-push-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-push-prebuilts
parent5908663f4209eed632b3973c97b25ff5a3dd3b17 (diff)
* Set umask to 0022 on startup.
Diffstat (limited to 'scripts/nix-push-prebuilts')
-rwxr-xr-xscripts/nix-push-prebuilts2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/nix-push-prebuilts b/scripts/nix-push-prebuilts
index c0e3b45c5825..2d44e7cda06d 100755
--- a/scripts/nix-push-prebuilts
+++ b/scripts/nix-push-prebuilts
@@ -5,6 +5,8 @@ my $etcdir = "$prefix/etc/nix";
 my $exportdir = "$prefix/var/nix/prebuilts/exports";
 my $knowns = "$prefix/var/nix/known-prebuilts";
 
+umask 0022;
+
 # For performance, put the known hashes in an associative array.
 my %knowns = ();
 open KNOWNS, "<$knowns";