summaryrefslogtreecommitdiffstats
path: root/mkarchroot.in
diff options
context:
space:
mode:
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index 7da19dc..6c42d3b 100644
--- a/mkarchroot.in
+++ b/mkarchroot.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=()