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

Daniel P. Berrange berrange at redhat.com
Thu Aug 6 14:50:18 UTC 2009


On Thu, Aug 06, 2009 at 03:48:45PM +0100, Mark McLoughlin wrote:
> 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

ACK

> ---
>  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}
> -- 


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list