]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
make writeable for www-data so liveboot-web can drop its mail.txt there
authorHolger Levsen <holger@layer-acht.org>
Thu, 8 Nov 2012 16:19:31 +0000 (17:19 +0100)
committerHolger Levsen <holger@layer-acht.org>
Thu, 8 Nov 2012 16:19:31 +0000 (17:19 +0100)
liveboot_build.sh

index b9a9162e8104b73293060e18bf816b8b21aa4ef2..cd987207243b239ac4a35326623a59006d276ffa 100755 (executable)
@@ -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