All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: Greg Kurz <groug@kaod.org>, Andrey Erokhin <language.lawyer@gmail.com>
Subject: Re: [RFC PATCH] virtfs: 9p: local: add default uid and gid options
Date: Fri, 30 Jan 2026 15:30:08 +0100	[thread overview]
Message-ID: <5961971.DvuYhMxLoT@weasel> (raw)
In-Reply-To: <d3cd5506-1ba0-492a-9eee-51f814da6087@gmail.com>

On Wednesday, 28 January 2026 20:13:45 CET Andrey Erokhin wrote:
> > I was trying to boot from a directory tree owned by an ordinary user,
> > and some daemons weren't happy about non-root ownership of some files
> > 
> > Example use:
> > -virtfs local,path=rootfs,mount_tag=root,security_model=mapped,uid=0,gid=0
> 
> I personally switched from fuse-overlayfs to user namespaces+kernel overlay
> fs (for writeable overlay for rootfs) long time ago, so I do not need
> uid=0,gid=0, I'm being mapped to 0:0 in the user namespace. I wanted to
> publish this change to support users which can't use user namespaces, but
> yesterday I realized I could just run QEMU (with fuse-overlayfs) under
> fakeroot 🤦‍♂️

Nevertheless you already came more than half way to finish this. All it would 
take is adding some lines to the command line docs.

But if you don't have the chance to finish this, no problem either, then I'm 
going to pin your current patch version to 
https://wiki.qemu.org/Documentation/9p#Implementation_Plans in case somebody 
else might be interested to finish this in future. Your call.

/Christian




  reply	other threads:[~2026-01-30 14:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-01 18:00 [RFC PATCH] virtfs: 9p: local: add default uid and gid options Andrey Erokhin
2025-12-03 10:33 ` Christian Schoenebeck
2025-12-06 17:10   ` Andrey Erokhin
2025-12-07 11:34     ` Warner Losh
2025-12-09 10:21       ` Christian Schoenebeck
2025-12-09 10:38         ` Warner Losh
2026-01-28 19:13 ` Andrey Erokhin
2026-01-30 14:30   ` Christian Schoenebeck [this message]
2026-02-10  9:45     ` Andrey Erokhin
2026-02-11 14:07       ` Christian Schoenebeck
2026-02-13 21:53         ` Andrey Erokhin
2026-02-16  8:51           ` Christian Schoenebeck

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=5961971.DvuYhMxLoT@weasel \
    --to=qemu_oss@crudebyte.com \
    --cc=groug@kaod.org \
    --cc=language.lawyer@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.