summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmakechrootpkg2
-rwxr-xr-xmkarchroot2
2 files changed, 2 insertions, 2 deletions
diff --git a/makechrootpkg b/makechrootpkg
index e1fab77..8ddbe36 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -105,7 +105,7 @@ if [ ! -d "$chrootdir/root" ]; then
usage
fi
-umask 000
+umask 0022
if [ ! -d "$copydir" -o "$clean_first" -eq "1" ]; then
echo -n 'creating clean working copy...'
mkdir -p "$copydir"
diff --git a/mkarchroot b/mkarchroot
index 58f919b..f760792 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -103,7 +103,7 @@ chroot_umount ()
}
# }}}
-umask 000
+umask 0022
if [ "$RUN" != "" ]; then
# run chroot {{{
#Sanity check