From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19v4tC-0004Cj-00 for ; Thu, 04 Sep 2003 17:55:51 -0700 Received: from oetest.freeswan.org ([205.150.200.166] helo=noxmail.sandelman.ottawa.on.ca) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19v4tB-0008OF-8b for user-mode-linux-devel@lists.sourceforge.net; Thu, 04 Sep 2003 17:55:49 -0700 Received: from lox.sandelman.ottawa.on.ca (IDENT:root@lox.sandelman.ottawa.on.ca [205.150.200.178]) by noxmail.sandelman.ottawa.on.ca (8.11.6p2/8.11.6) with ESMTP id h850tRd15686 for ; Thu, 4 Sep 2003 20:55:27 -0400 (EDT) Received: from sandelman.ottawa.on.ca (desk.marajade.sandelman.ca [205.150.200.247]) by lox.sandelman.ottawa.on.ca (8.11.6/8.11.6) with ESMTP id h850vNZ04373 for ; Thu, 4 Sep 2003 20:57:28 -0400 (EDT) Received: from marajade.sandelman.ottawa.on.ca (mcr@localhost) by sandelman.ottawa.on.ca (8.12.3/8.12.3/Debian -4) with ESMTP id h850t3n2026943 for ; Thu, 4 Sep 2003 20:55:03 -0400 Subject: Re: [uml-devel] hostfs as root In-reply-to: Your message of "Wed, 03 Sep 2003 15:16:33 EDT." <20030903191633.GV7304@alcor.net> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Message-ID: <26941.1062723303@marajade.sandelman.ottawa.on.ca> From: Michael Richardson Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: Date: Thu, 04 Sep 2003 20:55:03 -0400 To: user-mode-linux-devel@lists.sourceforge.net -----BEGIN PGP SIGNED MESSAGE----- >>>>> "Matt" == Matt Zimmerman writes: >> >>>>> "Henrik" == Henrik Nordstrom writes: >> >> /etc/mtab~ is created with mode 0, and this shows up in the host that >> >> way >> >> as well. Perhaps this is the real problem. >> Henrik> Right.. hostfs will almost certainly not work well with file mode 0 Henrik> until the virtual permissions layer is implemented. >> Henrik> Today hostfs directly maps permissions to the host files, which Henrik> breaks >> >> But, did this change between 2.4.19-47 and 2.4.20-8? >> >> 2.4.19 works just fine. Matt> Yes, it did. Things were changed so that files could be created Matt> read-only Matt> with O_RDWR. okay.. Makes sense. But, since they are mode 0, we can't open them as the user, which root inside could do. Is there some compromise that we can do until we have the permissions layer in place? Like, forcing u+r on the underlying file maybe? Or, if the mode is 0, and uid=0 inside, that we chmod u+r, then open? I'm happy to code this, but I don't want to waste time here :-) I could stay with 2.4.19-47, but we'd like to run on RH9 ;-) ] Out and about in Ottawa. hmmm... beer. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another Debian/notebook using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Finger me for keys - custom hacks make this fully PGP2 compat iQCVAwUBP1fe5YqHRg3pndX9AQHR2wP+JaOp4GcXqIdz1ewR3Zh6+tcu5mi5EOZW aWbya1Xq2m+EsG0d8hs3o3Jsuq2oVrLtncy+OYs7An+GDOL0/y7QmrSqnXS38grC NCyYi5C25grnjNq17JWLtOzsE9c8VqTLujMhkF8mV88IHtd9sapOXuiXs+NkZDuS WytpNbf9oW4= =dbdy -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel