From: Eric Biggers <ebiggers@xxxxxxxxxx> Make setup-buildchroot work when the umask is set to 0077. Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> --- setup-buildchroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-buildchroot b/setup-buildchroot index cdeb7fd..6c87d4d 100755 --- a/setup-buildchroot +++ b/setup-buildchroot @@ -569,7 +569,7 @@ run_in_chroot() create_chroot() { - mkdir -p "$CHROOT_DIR" + mkdir -p -m0755 "$CHROOT_DIR" test -z "${PROXY}" || export http_proxy=${PROXY} if ! run_cmd debootstrap --arch "$DEBIAN_ARCH" ${QEMU:+--foreign} \ -- 2.34.1