Re: [Libvir] PATCH: Allow control over UNIX socket perms & group in libvirtd

2007-09-19 Thread Daniel Veillard
On Wed, Sep 19, 2007 at 03:35:50AM +0100, Daniel P. Berrange wrote: > On Tue, Sep 18, 2007 at 04:17:32AM -0400, Daniel Veillard wrote: > > On Tue, Sep 18, 2007 at 05:38:09AM +0100, Daniel P. Berrange wrote: > > > NB, the virConf apis don't seem to recognise Octal numbers when parsing > > > the conf

Re: [Libvir] PATCH: Allow control over UNIX socket perms & group in libvirtd

2007-09-18 Thread Daniel P. Berrange
On Tue, Sep 18, 2007 at 04:17:32AM -0400, Daniel Veillard wrote: > On Tue, Sep 18, 2007 at 05:38:09AM +0100, Daniel P. Berrange wrote: > > NB, the virConf apis don't seem to recognise Octal numbers when parsing > > the config file, so I've used strings for the permissions. Not a big deal > > really

Re: [Libvir] PATCH: Allow control over UNIX socket perms & group in libvirtd

2007-09-18 Thread Daniel Veillard
On Tue, Sep 18, 2007 at 05:38:09AM +0100, Daniel P. Berrange wrote: > When I submitted the patches for PolicyKit[1] support a few weeks back Rich > suggested that we should have the ability to set UNIX socket permissions > and group ownership regardless. So this patch adds that ability. The defaul

[Libvir] PATCH: Allow control over UNIX socket perms & group in libvirtd

2007-09-17 Thread Daniel P. Berrange
When I submitted the patches for PolicyKit[1] support a few weeks back Rich suggested that we should have the ability to set UNIX socket permissions and group ownership regardless. So this patch adds that ability. The default setting is still, group=root, and mode=0700 for R/W socket and mode=077