From 021da2f4962d13dc215e15ccf42b0cf892603a29 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 19 Jan 2013 16:13:59 +0100 Subject: [PATCH] config/debian/cron.monthly: debianqueued now runs as dak-unpriv --- config/debian/cron.monthly | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ################################################################################ -- 2.39.5