[libvirt] [PATCH] Solaris least privilege support

Guido Günther agx at sigxcpu.org
Fri Jan 16 13:03:39 UTC 2009


On Thu, Jan 15, 2009 at 09:19:39AM -0800, john.levon at 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




More information about the libvir-list mailing list