Displaying 2 results from an estimated 2 matches for "1b47dc6".
Did you mean:
174ddc6
2015 Nov 08
2
Re: virDomainCoreDumpWithFormat files created as root
2015 Nov 18
0
Re: virDomainCoreDumpWithFormat files created as root
...to mock the driver
> (src/test/test_driver.c) as well.
>
> Here's the patch fixing the issue. I set the correct uid and gid only if
> the file is being created and dynamic ownership is set.
>
> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
> index a2cc002..1b47dc6 100644
> --- a/src/qemu/qemu_driver.c
> +++ b/src/qemu/qemu_driver.c
> @@ -2932,6 +2932,11 @@ qemuOpenFileAs(uid_t fallback_uid, gid_t
> fallback_gid,
> if (path_shared <= 0 || dynamicOwnership)
> vfoflags |= VIR_FILE_OPEN_FORCE_OWNER;
>
> +...