aboutsummaryrefslogtreecommitdiff
path: root/scripts/install-nix-from-closure.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-30 17:48:49 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-09-30 17:48:49 +0200
commit924712eef1fe86d349635ba666d413632e62519c (patch)
tree6b8c60f2c1796e07657b785013414efdb61d23f3 /scripts/install-nix-from-closure.sh
parent20a1e20d9194527d725898c745d1243d3de16277 (diff)
Installer: Set a known umask
Fixes #1560, #2377.
Diffstat (limited to 'scripts/install-nix-from-closure.sh')
-rw-r--r--scripts/install-nix-from-closure.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/install-nix-from-closure.sh b/scripts/install-nix-from-closure.sh
index 6efd8af18..14fb91534 100644
--- a/scripts/install-nix-from-closure.sh
+++ b/scripts/install-nix-from-closure.sh
@@ -2,6 +2,8 @@
set -e
+umask 0022
+
dest="/nix"
self="$(dirname "$0")"
nix="@nix@"