From: Ansgar Burchardt Date: Sat, 19 Jan 2013 15:13:59 +0000 (+0100) Subject: config/debian/cron.monthly: debianqueued now runs as dak-unpriv X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=021da2f4962d13dc215e15ccf42b0cf892603a29;p=dak config/debian/cron.monthly: debianqueued now runs as dak-unpriv --- diff --git a/config/debian/cron.monthly b/config/debian/cron.monthly index 08c8fe03..d525534e 100755 --- a/config/debian/cron.monthly +++ b/config/debian/cron.monthly @@ -35,10 +35,10 @@ chown dak:ftpteam $DATE DATE=$(date -d yesterday +%Y-%m) cd /srv/upload.debian.org/queued -/srv/upload.debian.org/queued/debianqueued -k || true -mv log log.${DATE} -touch log +sudo -u dak-unpriv /srv/upload.debian.org/queued/debianqueued -k || true +mv run/log log.${DATE} +sudo -u dak-unpriv touch run/log xz -9 log.${DATE} -/srv/upload.debian.org/queued/debianqueued 2>/dev/null +sudo -u dak-unpriv /srv/upload.debian.org/queued/debianqueued 2>/dev/null ################################################################################