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.de/?a=commitdiff_plain;h=2deda95867462eca414f8737247e8ab902dc63e5;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