From: Tomasz Olszak Date: Sun, 13 Apr 2014 21:47:47 +0000 (+0200) Subject: sudoers.d/gbs modified to handle gbs chroot --mount param. X-Git-Tag: 0.14~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4eaa0020e37838313ef77061945203f370e352dd;p=tools%2Fdepanneur.git sudoers.d/gbs modified to handle gbs chroot --mount param. Change-Id: I2737acbfab70c2e9c2398cfc5822c9fb4cb7b9c5 Signed-off-by: Tomasz Olszak --- diff --git a/data/gbs b/data/gbs index 42be93c..1f8456b 100644 --- a/data/gbs +++ b/data/gbs @@ -1,7 +1,7 @@ -ALL ALL=(ALL) NOPASSWD: /bin/mount -o bind * */home/abuild/rpmbuild/BUILD/* -ALL ALL=(ALL) NOPASSWD: /bin/umount -l */home/abuild/rpmbuild/BUILD/* -ALL ALL=(ALL) NOPASSWD: /bin/umount -l -f */home/abuild/rpmbuild/BUILD/* -ALL ALL=(ALL) NOPASSWD: /bin/mkdir -p */home/abuild/rpmbuild/BUILD/* +ALL ALL=(ALL) NOPASSWD: /bin/mount -o bind * */scratch.* +ALL ALL=(ALL) NOPASSWD: /bin/umount -l */scratch.* +ALL ALL=(ALL) NOPASSWD: /bin/umount -l -f */scratch.* +ALL ALL=(ALL) NOPASSWD: /bin/mkdir -p */scratch.* ALL ALL=(ALL) NOPASSWD: /usr/bin/build ALL ALL=(ALL) NOPASSWD: /bin/cp *.conf */scratch.*/*.conf ALL ALL=(ALL) NOPASSWD: /bin/rm -f */.build.log