]> git.ipfire.org Git - thirdparty/libvirt.git/commit
sanlock: Chown lease files as well
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 21 Dec 2012 11:35:21 +0000 (12:35 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 28 Dec 2012 15:42:38 +0000 (16:42 +0100)
commitce753ec5d6098ad467a817ba32fe75d608effc08
tree5c69e39b692632e6b25b71add61eb34880a47153
parente2d7e7c61a3b121cd78bf44e660e124aa5042867
sanlock: Chown lease files as well

Since sanlock doesn't run under root:root, we have chown()'ed the
__LIBVIRT__DISKS__ lease file to the user:group defined in the
sanlock config. However, when writing the patch I've forgot about
lease files for each disk (this is the
/var/lib/libvirt/sanlock/<md5>) file.
src/locking/lock_driver_sanlock.c