set umask to 0022

this fixes commit 7ce9cd6965
This commit is contained in:
Pierre Schmitz 2010-02-13 07:22:54 +01:00
parent 59b7a739e8
commit 70d7baee68
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -103,7 +103,7 @@ chroot_umount ()
}
# }}}
umask 000
umask 0022
if [ "$RUN" != "" ]; then
# run chroot {{{
#Sanity check