From: y0169.zhang Date: Mon, 6 Nov 2017 11:44:42 +0000 (+0800) Subject: Add sudo commands for icecream deploy operation X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Ficecream;p=tools%2Fdepanneur.git Add sudo commands for icecream deploy operation Change-Id: I59afaee7b377d0eb5dd93cdb1d642654a7a39efe --- diff --git a/data/gbs b/data/gbs index 4106dcc..ab6e8a1 100644 --- a/data/gbs +++ b/data/gbs @@ -1,7 +1,11 @@ ALL ALL=(ALL) NOPASSWD: /bin/mount -o bind /*/* */scratch.* +ALL ALL=(ALL) NOPASSWD: /bin/mount -o bind */scratch.*/run/icecc/ /run/icecc/ +ALL ALL=(ALL) NOPASSWD: /bin/mount -t proc /proc/ */scratch.*/proc/ ALL ALL=(ALL) NOPASSWD: /bin/umount -l */scratch.* ALL ALL=(ALL) NOPASSWD: /bin/umount -l -f */scratch.* +ALL ALL=(ALL) NOPASSWD: /bin/umount -l /run/icecc/ ALL ALL=(ALL) NOPASSWD: /bin/mkdir -p */scratch.* +ALL ALL=(ALL) NOPASSWD: /bin/mkdir -p /run/icecc/ 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