From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH 0/2] implement uid mount option for ext2 and ext3 Date: Thu, 30 Jul 2009 11:07:28 +0200 Message-ID: <20090730090659.GC1364@ucw.cz> References: <1248348991-849-1-git-send-email-ludwig.nussel@suse.de> <10655.1248384221@turing-police.cc.vt.edu> <200907241223.58220.ludwig.nussel@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, Valdis.Kletnieks@vt.edu, linux-kernel@vger.kernel.org To: Ludwig Nussel Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47893 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752550AbZHBMub (ORCPT ); Sun, 2 Aug 2009 08:50:31 -0400 Content-Disposition: inline In-Reply-To: <200907241223.58220.ludwig.nussel@suse.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi! > > Hint: This *same exact* problem has been an issue for NFS for at least 25 > > years. Might want to think about (a) why Yellow Pages (and later LDAP) was > > developed, and (b) why NFS "root squash" traditionally maps to "nobody" rather > > than a usable UID. > > I don't see how that helps us here. Sure, a uid != 0 could be used > for the mapping but which one? The uid of user 'nobody' is not the > same across distros. So just use -1 ? Having it map to root is dangerous AFAICT. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html