From: Tobias Schramm <tobleminer@gmail.com>
To: qemu-devel@nongnu.org
Cc: Tobias Schramm <tobleminer@gmail.com>
Subject: [Qemu-devel] [PATCH 0/1] Add fmask/dmask option for 9p mapped mode
Date: Sun, 18 Jun 2017 10:28:12 +0200 [thread overview]
Message-ID: <20170618082813.8091-1-tobleminer@gmail.com> (raw)
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
next reply other threads:[~2017-06-18 8:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-18 8:28 Tobias Schramm [this message]
2017-06-18 8:28 ` [Qemu-devel] [PATCH 1/1] Add support for custom fmasks/dmasks in 9ps mapped mode 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170618082813.8091-1-tobleminer@gmail.com \
--to=tobleminer@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).