From 70d7baee6833b5d68de6a878c8a8873afa25b503 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 13 Feb 2010 07:22:54 +0100 Subject: set umask to 0022 this fixes commit 7ce9cd696515c9baf13f2181e64c2ea8df6a4b02 --- makechrootpkg | 2 +- mkarchroot | 2 +- 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 -- cgit v1.2.3-24-g4f1b