From 7ce9cd696515c9baf13f2181e64c2ea8df6a4b02 Mon Sep 17 00:00:00 2001 From: Byron Clark Date: Mon, 11 Jan 2010 10:25:43 -0800 Subject: Reset umask before touching the chroot. This prevents problems when running with a umask that masks permissions for others. Signed-off-by: Byron Clark Signed-off-by: Aaron Griffin --- mkarchroot | 1 + 1 file changed, 1 insertion(+) (limited to 'mkarchroot') diff --git a/mkarchroot b/mkarchroot index b20e5a4..69fac22 100755 --- a/mkarchroot +++ b/mkarchroot @@ -107,6 +107,7 @@ chroot_umount () } # }}} +umask 000 if [ "$RUN" != "" ]; then # run chroot {{{ #Sanity check -- cgit v1.2.3-70-g09d2