diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-02-13 07:22:54 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-02-13 07:22:54 +0100 |
commit | 70d7baee6833b5d68de6a878c8a8873afa25b503 (patch) | |
tree | 800972f311d8380cf9bb5bc962eb52038f8762ba | |
parent | 59b7a739e8436d02136bd6483115f23fe19860e0 (diff) | |
download | devtools32-70d7baee6833b5d68de6a878c8a8873afa25b503.tar.xz |
set umask to 0022
this fixes commit 7ce9cd696515c9baf13f2181e64c2ea8df6a4b02
-rwxr-xr-x | makechrootpkg | 2 | ||||
-rwxr-xr-x | 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" @@ -103,7 +103,7 @@ chroot_umount () } # }}} -umask 000 +umask 0022 if [ "$RUN" != "" ]; then # run chroot {{{ #Sanity check |