[libvirt] [PATCH] qemu: Don't change ownership of file when appending to it

2011-05-24 Thread Michal Privoznik
Saving domain to previously created file changes also its ownership. This is certainly not what users want if some conditions are met: it is a regular, local file and dynamic_ownership is off. --- src/qemu/qemu_driver.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff

Re: [libvirt] [PATCH] qemu: Don't change ownership of file when appending to it

2011-05-24 Thread Eric Blake
On 05/24/2011 09:12 AM, Daniel Veillard wrote: On Tue, May 24, 2011 at 02:54:28PM +0200, Michal Privoznik wrote: Saving domain to previously created file changes also its ownership. This is certainly not what users want if some conditions are met: it is a regular, local file and

Re: [libvirt] [PATCH] qemu: Don't change ownership of file when appending to it

2011-05-24 Thread Michal Prívozník
On 24.05.2011 17:17, Eric Blake wrote: On 05/24/2011 09:12 AM, Daniel Veillard wrote: On Tue, May 24, 2011 at 02:54:28PM +0200, Michal Privoznik wrote: Saving domain to previously created file changes also its ownership. This is certainly not what users want if some conditions are met: it is

Re: [libvirt] [PATCH] qemu: Don't change ownership of file when appending to it

2011-05-24 Thread Daniel Veillard
On Tue, May 24, 2011 at 02:54:28PM +0200, Michal Privoznik wrote: Saving domain to previously created file changes also its ownership. This is certainly not what users want if some conditions are met: it is a regular, local file and dynamic_ownership is off. --- src/qemu/qemu_driver.c | 12