]> xenbits.xensource.com Git - libvirt.git/commit
Fix privileges on /var/run/libvirt directory
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 11 Jun 2012 11:31:16 +0000 (12:31 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 11 Jun 2012 14:57:12 +0000 (15:57 +0100)
commit0ec82620921567d46a0b490e011d8b58bf080a0e
tree22e6b71a9f796f4b4a85c7ffb85548ba6234bdb8
parent19c08b5644162420f00844d20be201fcee377cf8
Fix privileges on /var/run/libvirt directory

Previous commit

  commit 32a9aac2e04c991340b66c855a1095e4e6445e54
  Author: William Jon McCann <william.jon.mccann@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.
daemon/libvirtd.c