[libvirt] [PATCH] Fix privileges on /var/run/libvirt directory

Peter Krempa pkrempa at redhat.com
Mon Jun 11 11:44:11 UTC 2012


On 06/11/12 13:36, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Previous commit
>
>    commit 32a9aac2e04c991340b66c855a1095e4e6445e54
>    Author: William Jon McCann <william.jon.mccann at gmail.com>
>    Date:   Thu May 3 12:36:27 2012 -0400
>
>      Use XDG Base Directories instead of storing in home directory
>
> Accidentally changed the umask when creating /var/run/libvirt
> to 077. This prevents /var/run/libvirt being readable by non-root,
> which is required for non-root to connect to libvirtd. Fix the
> code so that umask 077 is only used for the non-privileged libvirtd
> instance.
> ---

ACK, chmoding /var/run/libvirt was very annoying. I thought originaly I 
misconfigured something.

Peter




More information about the libvir-list mailing list