summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r--arch-nspawn.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index fb2b53e..8a87b96 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -13,6 +13,10 @@
m4_include(lib/common.sh)
m4_include(lib/archroot.sh)
+# umask might have been changed in /etc/profile
+# ensure that sane default is set again
+umask 0022
+
working_dir=''
files=()