summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-03 09:52:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-03 09:52:18 +0200
commit5cf861ef62874b3cb91315b201177d19d0fe10bf (patch)
tree4de1b4d2aa4c90a24d8ba376b2ecddc4d2e37a52 /hosts/jenkins/etc
parent39dcfb316076c9ec39f6fba075b2cf81c5321d53 (diff)
downloadjenkins.debian.net-5cf861ef62874b3cb91315b201177d19d0fe10bf.tar.xz
reproducible: allow sudo where schroot-create.sh needs it
Diffstat (limited to 'hosts/jenkins/etc')
-rw-r--r--hosts/jenkins/etc/sudoers.d/jenkins7
1 files changed, 4 insertions, 3 deletions
diff --git a/hosts/jenkins/etc/sudoers.d/jenkins b/hosts/jenkins/etc/sudoers.d/jenkins
index d75335f9..e4ed15b3 100644
--- a/hosts/jenkins/etc/sudoers.d/jenkins
+++ b/hosts/jenkins/etc/sudoers.d/jenkins
@@ -1,9 +1,10 @@
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
- /usr/bin/tee /chroots/*, \
- /usr/bin/tee -a /chroots/*, \
+ /usr/bin/tee /schroots/*, \
+ /usr/bin/tee -a /schroots/*, \
/usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
- /bin/chmod +x /chroots/*, \
+ /bin/chmod +x /schroots/*, \
+ /usr/sbin/chroot /schroots/*, \
/usr/sbin/chroot /chroots/*, \
/usr/sbin/chroot /media/*, \
/bin/ls -la /media/*, \