]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuOpenFile: Don't force chown on NFS
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Apr 2012 09:13:40 +0000 (11:13 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Apr 2012 11:53:38 +0000 (13:53 +0200)
commitb1256816ff34ca94675ef62eccfa66f2a7daa0fc
treeefb3319999a42c74ee2d3a5da1aaf405c7351d9a
parentd0eaf4b124ba5b2016107586c75aa4b1a985b157
qemuOpenFile: Don't force chown on NFS

If dynamic_ownership is off and we are creating a file on NFS
we force chown. This will fail as chown/chmod are not supported
on NFS. However, with no dynamic_ownership we are not required
to do any chown.
src/qemu/qemu_driver.c