]> Git Repo - qemu.git/commit
9pfs: local: Add support for custom fmode/dmode in 9ps mapped security modes
authorTobias Schramm <[email protected]>
Thu, 29 Jun 2017 13:11:50 +0000 (15:11 +0200)
committerGreg Kurz <[email protected]>
Thu, 29 Jun 2017 13:11:50 +0000 (15:11 +0200)
commitb96feb2cb9b2714bffa342b1d4f39d8db71329ba
treee7a81567660c5cf379f78f532e288ef2d3174838
parent790db7efdbe1536acf1c4f4f95a0316dbda59433
9pfs: local: Add support for custom fmode/dmode in 9ps mapped security modes

In mapped security modes, files are created with very restrictive
permissions (600 for files and 700 for directories). This makes
file sharing between virtual machines and users on the host rather
complicated. Imagine eg. a group of users that need to access data
produced by processes on a virtual machine. Giving those users access
to the data will be difficult since the group access mode is always 0.

This patch makes the default mode for both files and directories
configurable. Existing setups that don't know about the new parameters
keep using the current secure behavior.

Signed-off-by: Tobias Schramm <[email protected]>
Signed-off-by: Greg Kurz <[email protected]>
fsdev/file-op-9p.h
fsdev/qemu-fsdev-opts.c
hw/9pfs/9p-local.c
hw/9pfs/9p.c
qemu-options.hx
This page took 0.027069 seconds and 4 git commands to generate.