[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/1] Add fmask/dmask option for 9p mapped mode
From: |
Tobias Schramm |
Subject: |
[Qemu-devel] [PATCH 0/1] Add fmask/dmask option for 9p mapped mode |
Date: |
Sun, 18 Jun 2017 10:28:12 +0200 |
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
- [Qemu-devel] [PATCH 0/1] Add fmask/dmask option for 9p mapped mode,
Tobias Schramm <=