Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-13 07:22:54 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-02-13 07:22:54 +0100
commit70d7baee6833b5d68de6a878c8a8873afa25b503 (patch)
tree800972f311d8380cf9bb5bc962eb52038f8762ba
parent59b7a739e8436d02136bd6483115f23fe19860e0 (diff)
set umask to 0022
this fixes commit 7ce9cd696515c9baf13f2181e64c2ea8df6a4b02
-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