]> 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>
Thu, 17 Mar 2016 20:23:10 +0000 (16:23 -0400)
commit6c3c5c099c3ac0a0869073fc8ee9658950c796d7
tree5960024dcccec3919da37b0b18ea540dfe0ae732
parentcb3de69f0d785c96f7f1390413b9c2b5393cc252
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.

(cherry picked from commit adefc561cc4c6a007529769c3df286f2ed461684)
src/util/virfile.c