[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH] Solaris least privilege support
- From: Guido Günther <agx sigxcpu org>
- To: john levon sun com
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH] Solaris least privilege support
- Date: Fri, 16 Jan 2009 14:03:39 +0100
On Thu, Jan 15, 2009 at 09:19:39AM -0800, john levon sun com wrote:
[..snip..]
> + /* Change the group ownership of /var/run/libvirt to unix_sock_gid */
> + if (geteuid () == 0) {
> + const char *rundir = LOCAL_STATE_DIR "/run/libvirt";
> +
> + if (mkdir (rundir, 0755)) {
virFileMakePath?
-- Guido
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]