[Qa-jenkins-scm] [jenkins.debian.net] 03/03: chroot-run: chmod debootstrap target dir to 755 to prepare for change coming in sid
Holger Levsen
holger at layer-acht.org
Mon Nov 14 09:45:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 1a8ed0389ab270c0571a01cb7d638290632f63a3
Author: Helmut Grohne <helmut at subdivi.de>
Date: Sat Nov 12 21:18:53 2016 +0100
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 <holger at layer-acht.org>
---
bin/chroot-run.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 3e39148..4a501c3 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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list