From 4eaa0020e37838313ef77061945203f370e352dd Mon Sep 17 00:00:00 2001 From: Tomasz Olszak Date: Sun, 13 Apr 2014 23:47:47 +0200 Subject: [PATCH] sudoers.d/gbs modified to handle gbs chroot --mount param. Change-Id: I2737acbfab70c2e9c2398cfc5822c9fb4cb7b9c5 Signed-off-by: Tomasz Olszak --- data/gbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.34.1