]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: virfile: Only setuid for virFileRemove if on NFS
authorCole Robinson <crobinso@redhat.com>
Wed, 9 Mar 2016 17:20:37 +0000 (12:20 -0500)
committerCole Robinson <crobinso@redhat.com>
Wed, 9 Mar 2016 21:07:18 +0000 (16:07 -0500)
commitadefc561cc4c6a007529769c3df286f2ed461684
tree27ce755c443acfc733fa7992e1675d784e5189d1
parent7cf5343709935694b76af7b134447a2c555400b6
util: virfile: Only setuid for virFileRemove if on NFS

NFS with root-squash is the only reason we need to do setuid/setgid
crazyness in virFileRemove, so limit that behavior to the NFS case.
src/util/virfile.c