[libvirt] [PATCH] Set perms on /var/lib/libvirt/boot to 0711

Mark McLoughlin markmc at redhat.com
Thu Aug 6 14:48:45 UTC 2009


Allow qemu user to open kernel/initrds in this dir, but still prevent
others from listing it.

* libvirt.spec.in: set /var/lib/libvirt/boot perms to 0711
---
 libvirt.spec.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 66ec070..dad97ec 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -490,7 +490,7 @@ fi
 
 %dir %{_localstatedir}/lib/libvirt/
 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
-%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/boot/
+%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
 %dir %attr(0700, root, root) %{_localstatedir}/cache/libvirt/
 
 %if %{with_qemu}
-- 
1.6.2.5




More information about the libvir-list mailing list