Re: [libvirt] [PATCH 07/12] qemu: domain: Simplify using DAC permissions of top of backing chain

2017-10-26 Thread John Ferlan
On 10/20/2017 09:47 AM, Peter Krempa wrote: > qemuDomainGetImageIds and qemuDomainStorageFileInit are helpful when > trying to access a virStorageSource from the qemu driver since they > figure out the correct uid and gid for the image. > > When accessing members of a backing chain the permissio

[libvirt] [PATCH 07/12] qemu: domain: Simplify using DAC permissions of top of backing chain

2017-10-20 Thread Peter Krempa
qemuDomainGetImageIds and qemuDomainStorageFileInit are helpful when trying to access a virStorageSource from the qemu driver since they figure out the correct uid and gid for the image. When accessing members of a backing chain the permissions for the top level would be used. To allow using speci