QEMU added the fmode and dmode flags to the fsdev/virtfs options in v2.10.0. Currently when using "mapped" as the "accessmode" for a "filesystem", all the files and directories created on the host have permissions 600 and 700, respectively. This is extremely inconvenient as the permissions are obviously very restrictive.
It would be useful to expose these two flags via the domain's XML so they can be easily modified. It appears libvirt is already semi-aware of these flags as they appear in the tests.
Closing this as the relevant patches got merged via the mailing list.
QEMU added the fmode and dmode flags to the fsdev/virtfs options in v2.10.0. Currently when using "mapped" as the "accessmode" for a "filesystem", all the files and directories created on the host have permissions 600 and 700, respectively. This is extremely inconvenient as the permissions are obviously very restrictive.
It would be useful to expose these two flags via the domain's XML so they can be easily modified. It appears libvirt is already semi-aware of these flags as they appear in the tests.