<div dir="ltr">Hello,<div> I'm having an issue with usage of libvirt driven qemu where I'm sharing directory with guest machine.</div><div>virsh domain filesharing configuration:</div><div>    <filesystem type='mount' accessmode='passthrough'><br>      <driver type='path' wrpolicy='immediate'/><br>      <source dir='/media/share'/><br>      <target dir='data'/><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/><br>    </filesystem><br></div><div><br></div><div>/etc/libvirt/qemu.conf :<br></div><div>user = "root"</div><div>group = "root"<br></div><div>dynamic_ownership = 0<br></div><div>clear_emulator_capabilities = 0<br></div><div><br></div><div>even with this unsecure configuration I wasn't able to achieve that newly created files/dirs in guest machine have ownership of guest machine user but they are still created under root user id. Also strange is that group of those files/dirs are correct.</div><div>Can somebody help me with this?</div><div><br></div><div>Thank you.</div><div><br></div><div>Vojtech</div></div>