From 98e4f7ee9f47b667e2a63f787a55dde2e3de42e9 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 28 Jul 2009 18:06:43 +0000 Subject: [PATCH] - Set perms on /var/{run,lib,cache}/libvirt/qemu --- libvirt.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libvirt.spec b/libvirt.spec index ac92b0c..34328fd 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -493,8 +493,9 @@ fi %dir %attr(0700, root, root) %{_localstatedir}/cache/libvirt/ %if %{with_qemu} -%dir %{_localstatedir}/run/libvirt/qemu/ -%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/qemu/ +%dir %attr(0700, %{qemu_user}, %{qemu_group}) %{_localstatedir}/run/libvirt/qemu/ +%dir %attr(0700, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/ +%dir %attr(0700, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/ %endif %if %{with_lxc} %dir %{_localstatedir}/run/libvirt/lxc/ @@ -613,6 +614,7 @@ fi - Remove explicit libxml2 requires, again - Build with --without-capng if capng support is disabled - Remove explicit dir creating in makeinstall, replaced by attr in files +- Set perms on /var/{run,lib,cache}/libvirt/qemu * Tue Jul 28 2009 Mark McLoughlin - 0.7.0-0.2.gitf055724 - Drop glusterfs dep to 2.0.1 (bug #514191)