[Git][qa/jenkins.debian.net][master] fixup: jenkins nodes: fix permission fix to not loop endlessly
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Mar 21 11:30:39 GMT 2026
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
c55e5bc5 by Holger Levsen at 2026-03-21T12:30:26+01:00
fixup: jenkins nodes: fix permission fix to not loop endlessly
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -450,7 +450,7 @@ echo "$(date -u) - Checking for files with bad permissions."
# automatically fix rbuild files with wrong permissions...
# (we know it happens (very rarely) but... shrugs.)
[ ! -d $DEBIAN_BASE/rbuild ] || find $DEBIAN_BASE/{buildinfo,dbd,dbdtxt,dbdjson,logs,logdiffs,rbuild,artifacts,buster,bullseye,bookworm,trixie,forky,unstable,experimental,rb-pkg} -type f ! -perm 664 ! -perm 644 -exec sudo chmod -v 664 {} \; 2>/dev/null|| true
-BADPERMS=$(find $DEBIAN_BASE/{buildinfo,dbd,dbdtxt,dbdjson,logs,logdiffs,rbuild,artifacts,buster,bullseye,bookworm,trixie,forky,unstable,experimental,rb-pkg} -type f ! -perm 664 2>/dev/null|| true)
+BADPERMS=$(find $DEBIAN_BASE/{buildinfo,dbd,dbdtxt,dbdjson,logs,logdiffs,rbuild,artifacts,buster,bullseye,bookworm,trixie,forky,unstable,experimental,rb-pkg} -type f ! -perm 664 ! -perm 644 2>/dev/null|| true)
if [ -n "$BADPERMS" ] ; then
DIRTY=true
echo
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c55e5bc5e9e818feca43905873b10f43c779cd60
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c55e5bc5e9e818feca43905873b10f43c779cd60
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260321/a4309d30/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list