diff options
author | Byron Clark <byron@theclarkfamily.name> | 2010-01-11 10:25:43 -0800 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2010-01-11 10:25:43 -0800 |
commit | 7ce9cd696515c9baf13f2181e64c2ea8df6a4b02 (patch) | |
tree | 777254db0596fb98b76fb879380c624aacba4895 /mkarchroot | |
parent | a7d88845a8153fe0d4238fad3e271c93ebe34463 (diff) |
Reset umask before touching the chroot.
This prevents problems when running with a umask that masks permissions
for others.
Signed-off-by: Byron Clark <byron@theclarkfamily.name>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'mkarchroot')
-rwxr-xr-x | mkarchroot | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -107,6 +107,7 @@ chroot_umount () } # }}} +umask 000 if [ "$RUN" != "" ]; then # run chroot {{{ #Sanity check |