From 1a8ed0389ab270c0571a01cb7d638290632f63a3 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sat, 12 Nov 2016 21:18:53 +0100 Subject: chroot-run: chmod debootstrap target dir to 755 to prepare for change coming in sid jessie's debootstrap would chmod the target directory to 755, but the bpo debootstrap no longer does that, so we need to chmod ourselves or the / inside the chroot will be 700 (from mkdtemp). Signed-off-by: Holger Levsen --- bin/chroot-run.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/chroot-run.sh') diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index 3e391483..4a501c3f 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -46,6 +46,7 @@ if [ -z "$CHROOT_TARGET" ]; then echo "Could not create a directory to create the chroot in, aborting." exit 1 fi +chmod 755 "$CHROOT_TARGET" export CURDIR=$(pwd) -- cgit v1.2.3-54-g00ecf