diff options
author | Helmut Grohne <helmut@subdivi.de> | 2016-11-12 21:18:53 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-11-14 10:44:13 +0100 |
commit | 1a8ed0389ab270c0571a01cb7d638290632f63a3 (patch) | |
tree | 6bd6e83d8ba2141c9ccb9fa4ce6adaf414d65a71 /bin | |
parent | 7ea0af034178d6bdda56b66f9fcd53c496f92d27 (diff) | |
download | jenkins.debian.net-1a8ed0389ab270c0571a01cb7d638290632f63a3.tar.xz |
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@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot-run.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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) |