From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Karl Chen <quarl@cs.berkeley.edu>
Subject: Re: [uml-devel] hostfs permissions
Date: Sat, 11 Jun 2005 00:26:24 +0200 [thread overview]
Message-ID: <200506110026.24655.blaisorblade@yahoo.it> (raw)
In-Reply-To: <quack.20050610T1314.87aclyvuim@quack.cs.berkeley.edu>
On Friday 10 June 2005 22:14, Karl Chen wrote:
> >>>>> On 2005-06-10 09:03 PDT, Blaisorblade writes:
> >> Hostfs seems to make everything owned by root -- even files
> >> created by non-root users.
>
> Blaisorblade> So you are running uml as root?
>
> Blaisorblade> Or you are running UML as non-root but with
> Blaisorblade> hostfs as root filesystem?
>
> I'm running uml as non-root (that's part of the reason for using
> UML, so I can do everything as non-root), and not using hostfs as
> the root file system. I just need to share one directory tree,
> and some processes inside the uml need to run as non-root.
Ok, in this case there's probably a simpler road: simply use a 2.4.27-1bs
kernel. The implemented behaviour is that all created files will have the ID
they have on the host, i.e. the ID of the user running UML.
> Blaisorblade> 1) HUMFS, implementing the ideal behaviour below
>
> Humfs looks promising; I'm investigating - thanks.
> >> I would be happy if there were uid and gid mount options as
> >> many other fs types have -- to treat all files in the
> >> entire mount as owned by a particular user/group.
>
> Blaisorblade> Well, I'm going to add those options to UML 2.6
> Blaisorblade> but I'll be able to work on this only next
> Blaisorblade> week... However this should not be too much
> Blaisorblade> work.
>
> Great! Thanks! Let me know if I can help with anything.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-06-10 22:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-10 5:34 [uml-devel] hostfs permissions Karl Chen
2005-06-10 16:03 ` Blaisorblade
2005-06-10 20:14 ` Karl Chen
2005-06-10 22:26 ` Blaisorblade [this message]
2005-06-11 0:48 ` Karl Chen
2005-06-11 2:33 ` Blaisorblade
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=200506110026.24655.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=quarl@cs.berkeley.edu \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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