qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] Add fmask/dmask option for 9p mapped mode
@ 2017-06-18  8:28 Tobias Schramm
  2017-06-18  8:28 ` [Qemu-devel] [PATCH 1/1] Add support for custom fmasks/dmasks in 9ps " Tobias Schramm
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tobias Schramm @ 2017-06-18  8:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Tobias Schramm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-27 20:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-18  8:28 [Qemu-devel] [PATCH 0/1] Add fmask/dmask option for 9p mapped mode Tobias Schramm
2017-06-18  8:28 ` [Qemu-devel] [PATCH 1/1] Add support for custom fmasks/dmasks in 9ps " Tobias Schramm
2017-06-18 13:57   ` Manos Pitsidianakis
2017-06-27 20:01   ` Eric Blake
2017-06-18 12:37 ` [Qemu-devel] [PATCH 0/1] Add fmask/dmask option for 9p " no-reply
2017-06-18 13:47 ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).