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 19uU06-0005Bh-00 for ; Wed, 03 Sep 2003 02:32:30 -0700 Received: from marasystems.com ([213.150.153.194] helo=filer.marasystems.com) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 19uU05-0002XM-W1 for user-mode-linux-devel@lists.sourceforge.net; Wed, 03 Sep 2003 02:32:30 -0700 Subject: Re: [uml-devel] hostfs as root From: Henrik Nordstrom In-Reply-To: <30858.1062520135@marajade.sandelman.ottawa.on.ca> References: <30858.1062520135@marajade.sandelman.ottawa.on.ca> Content-Type: text/plain Message-Id: <1062581538.15476.4.camel@henrik.marasystems.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: 03 Sep 2003 11:32:18 +0200 To: Michael Richardson Cc: user-mode-linux-devel@lists.sourceforge.net tis 2003-09-02 klockan 18.28 skrev Michael Richardson: > can't open lock file /etc/mtab~: Permission denied (use -n flag to override) > can't open lock file /etc/mtab~: Permission denied (use -n flag to override) > ... > > /etc/mtab~ is created with mode 0, and this shows up in the host that way > as well. Perhaps this is the real problem. Right.. hostfs will almost certainly not work well with file mode 0 until the virtual permissions layer is implemented. Today hostfs directly maps permissions to the host files, which breaks root semantics for UML. Normally root expects that mode does not matter when reading/writing files, but when using hostfs it does matter when UML accesses the host. Regards Henrik -- Henrik Nordstrom MARA Systems AB ------------------------------------------------------- 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