]> git.ipfire.org Git - thirdparty/libvirt.git/commit
screenshot: Set access rights to temporary file
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 29 Jun 2011 08:17:51 +0000 (10:17 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 29 Jun 2011 10:05:34 +0000 (12:05 +0200)
commitc72aecc5fcac98d61f8a94ff2ae1f40a149a5c4a
treec15105a23cb83ab44bb009a4f5e13613f7141999
parent8cce5436ddec80dcf2c2f803deaa71121179d60a
screenshot: Set access rights to temporary file

Although we create a temporary file, it is owned by root:root and have
rights 0600. In case qemu does not run under root, it is unable to write
to that file and thus we transfer 0B sized file.
src/qemu/qemu_driver.c