]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Set perms on /var/lib/libvirt/images to 0711
authorMark McLoughlin <markmc@redhat.com>
Fri, 31 Jul 2009 08:49:08 +0000 (09:49 +0100)
committerMark McLoughlin <markmc@redhat.com>
Fri, 31 Jul 2009 08:52:24 +0000 (09:52 +0100)
Allow qemu user to open images in this dir, but still prevent others
from listing it.

* libvirt.spec.in: set /var/lib/libvirt/images perms to 0711

libvirt.spec.in

index c29562963842b32cb050b8caacbb121f4fab844f..fdc22106f9642a9e8f12be8d19bb6876ed8445d0 100644 (file)
@@ -489,7 +489,7 @@ fi
 %dir %{_localstatedir}/run/libvirt/
 
 %dir %{_localstatedir}/lib/libvirt/
-%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/images/
+%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/boot/
 %dir %attr(0700, root, root) %{_localstatedir}/cache/libvirt/