setup-dchroot: fix root directory permissions
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 6 Apr 2017 07:17:29 +0000 (09:17 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 6 Apr 2017 07:17:29 +0000 (09:17 +0200)
commit439b70993ae56b0efc12c3eb3ab41cea6ad853ac
tree13347965df85924e24c7579748309aad17f9de72
parentbc0601dfe9bc4cb087cdede1b16eae841576ed4c
setup-dchroot: fix root directory permissions

When using stretch, the debootstrap process does not change the
permissions of the root directory of the chroot. As it is created
with mktemp, it ends up not being readable by a normal user like
"buildd". Change the permissions just before creating the tarball
to avoid that.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/schroot/files/setup-dchroot