From: Holger Levsen Date: Thu, 8 Nov 2012 16:19:31 +0000 (+0100) Subject: make writeable for www-data so liveboot-web can drop its mail.txt there X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=95370fb260248f59640c9cd375d4d1ad2b4aabda;p=profitbricks%2Fjenkins-build-scripts.git make writeable for www-data so liveboot-web can drop its mail.txt there --- diff --git a/liveboot_build.sh b/liveboot_build.sh index b9a9162..cd98720 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -71,6 +71,8 @@ $SCRIPTSDIR/liveboot2db.py $JOB_NAME $BUILD_NUMBER $REQUEST_ID $BUILD_START $BUI if [ "$GIT_BRANCH" = "master" ] ; then # FIXME: too much sudo here... cd /srv/build/liveboot/builds + sudo chgrp www-data *-* + sudo chmod g+w *-* sudo mv *-* /srv/mirror/liveboot cd /srv/build/ sudo rm liveboot -Rf