I've noticed that there is no way to control file and folder umask on the host when using 9p in mapped mode. This can be a major headache when actually sharing data between different users using groups and ACLs. Thus I added the options fmask and dmask to fsdev and virtfs to control the actual permissions of newly created files and folders on the host. This is my first patch for QEMU. Please let me know if there are any issues with it.
Tobias Schramm Tobias Schramm (1): Add support for custom fmasks/dmasks in 9ps mapped mode fsdev/file-op-9p.h | 4 ++++ fsdev/qemu-fsdev-opts.c | 12 ++++++++++++ hw/9pfs/9p-local.c | 33 +++++++++++++++++++++++++++++---- hw/9pfs/9p.c | 3 +++ 4 files changed, 48 insertions(+), 4 deletions(-) -- 2.13.1