[libvir] [PATCH] Change group ownership of /var/run/libvirt/
Anton Protopopov
aspsk2 at gmail.com
Fri Apr 25 08:57:23 UTC 2008
2008/4/25, Guido Günther <agx at sigxcpu.org>:
> On Thu, Apr 24, 2008 at 07:20:45PM +0400, Anton Protopopov wrote:
> > 1) If libvirtd is running as root, main() will try to change the group
> > ownership of /var/run/libvirt to one specified by unix_sock_gid.
> > 2) Default permissions on /var/run/libvirt are now 0750
>
> How does this match with the default permissions of the read only
> socket?
> unix_sock_ro_perms = "0777"
Yes, you are right. That doesn't match...
> Shouldnt the /var/run/libvirt stay 0755?
Yes, it should.
> -- Guido
>
New patch is attached
A.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvir_qemud_chown_of_sockdir.patch
Type: application/octet-stream
Size: 835 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080425/394696f2/attachment-0001.obj>
More information about the libvir-list
mailing list