ensured that the copied version of chrooted.sh is +x, and that it is removed when configuration is done