Commit 70d7baee authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

set umask to 0022

this fixes commit 7ce9cd69
parent 59b7a739
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ chroot_umount ()
}
# }}}

umask 000
umask 0022
if [ "$RUN" != "" ]; then
    # run chroot {{{
    #Sanity check