From 274f4939a1840cca73168a6cca8d165300aebc1c Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 19 Feb 2013 11:35:56 +1300 Subject: [PATCH] Fix the sudo rules for unpacking fedora raw images. Change-Id: Icba75e0380f63a8f6059d1be4c63ac823b9f473d --- sudoers.d/img-build-sudoers | 1 + 1 file changed, 1 insertion(+) diff --git a/sudoers.d/img-build-sudoers b/sudoers.d/img-build-sudoers index bd65d45e..2aedb15c 100644 --- a/sudoers.d/img-build-sudoers +++ b/sudoers.d/img-build-sudoers @@ -24,6 +24,7 @@ ALL ALL=(root) NOPASSWD: /bin/mount -o remount\,ro\,bind /tmp/*/hooks /tmp/*/mnt ALL ALL=(root) NOPASSWD: /bin/mount -t proc none /tmp/*/mnt/proc ALL ALL=(root) NOPASSWD: /bin/mount -t sysfs none /tmp/*/mnt/sys ALL ALL=(root) NOPASSWD: /bin/mount /dev/nbd0* /tmp/*/mnt +ALL ALL=(root) NOPASSWD: /bin/mount /dev/loop*p* /tmp/*/mnt ALL ALL=(root) NOPASSWD: /bin/mv /tmp/*/mnt/* /tmp/*/mnt/* ALL ALL=(root) NOPASSWD: /bin/rm -* /tmp/*/mnt/* ALL ALL=(root) NOPASSWD: /bin/rmdir /tmp/*/mnt/*