diff options
-rwxr-xr-x | makechrootpkg | 1 | ||||
-rwxr-xr-x | mkarchroot | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg index 1d2282c..b31a2ae 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -104,6 +104,7 @@ if [ ! -d "$chrootdir/root" ]; then usage fi +umask 000 [ -d "$chrootdir/$LAYER" -a "$clean_first" -eq "1" ] && rm -rf "$chrootdir/$LAYER/" [ -d "$chrootdir/$LAYER" ] || mkdir "$chrootdir/$LAYER" [ -d "$chrootdir/union" ] || mkdir "$chrootdir/union" @@ -107,6 +107,7 @@ chroot_umount () } # }}} +umask 000 if [ "$RUN" != "" ]; then # run chroot {{{ #Sanity check |