From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: [PATCH 0/7] Permit filesystem local caching and NFS superblock sharing [try #13] Date: Thu, 07 Sep 2006 15:40:15 +0800 Message-ID: <1157614816.4281.0.camel@raven.themaw.net> References: <1157546813.5541.8.camel@lade.trondhjem.org> <1157518718.3066.22.camel@raven.themaw.net> <1157458817.4133.29.camel@raven.themaw.net> <1157451611.4133.22.camel@raven.themaw.net> <1157436412.3915.26.camel@raven.themaw.net> <20060901195009.187af603.akpm@osdl.org> <20060831102127.8fb9a24b.akpm@osdl.org> <20060830135503.98f57ff3.akpm@osdl.org> <20060830125239.6504d71a.akpm@osdl.org> <20060830193153.12446.24095.stgit@warthog.cambridge.redhat.com> <27414.1156970238@warthog.cambridge.redhat.com> <9849.1157018310@warthog.cambridge.redhat.com> <9534.1157116114@warthog.cambridge.redhat.com> <20060901093451.87aa486d.akpm@osdl.org> <1157130044.5632.87.camel@localhost> <28945.1157370732@warthog.cambridge.redhat.com> <1157376295.3240.13.camel@raven.themaw.net> <1157421445.5510.13.camel@localhost> <1157424937.3002.4.camel@raven.themaw.net> <1157428241.5510.72.camel@localhost> <1157429030.3915.8.camel@raven.themaw.net> <1157432039.32412.37.camel@localhost> <3698.1157449249@warth! og.cambridge.redhat.com> <4987.1157452656@war! thog.cambridge.redhat.com> <11346.1157463522@warthog.cambridge.redhat.com> <8912.1157536306@warthog.cambridge.redhat.com> <15694.1157549082@warthog.cambridge.redhat.com> <1157607018.5929.8.camel@raven.themaw.net> <1157609833.5787.6.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: David Howells , Andrew Morton , torvalds@osdl.org, steved@redhat.com, linux-fsdevel@vger.kernel.org, linux-cachefs@redhat.com, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org Return-path: Received: from out2.smtp.messagingengine.com ([66.111.4.26]:9865 "EHLO out2.smtp.messagingengine.com") by vger.kernel.org with ESMTP id S1751039AbWIGHk1 (ORCPT ); Thu, 7 Sep 2006 03:40:27 -0400 To: Trond Myklebust In-Reply-To: <1157609833.5787.6.camel@lade.trondhjem.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, 2006-09-07 at 02:17 -0400, Trond Myklebust wrote: > On Thu, 2006-09-07 at 13:30 +0800, Ian Kent wrote: > > On Wed, 2006-09-06 at 14:24 +0100, David Howells wrote: > > > Trond Myklebust wrote: > > > > > > > It really doesn't matter whether there is a symlink or not. automounters > > > > should _not_ be trying to create directories on any filesystem other > > > > than the autofs filesystem itself. > > > > > > Yes, I agree. > > > > Not really. > > > > What about multiple recursive bind mounts? > > What about the initial directory for the autofs mount itself? > > > > What about the case where a admin expects autofs to create these > > directories for map entries that have multiple offsets. > > > > As I've said before in version 5 I'm saying that it is a requirement > > that the the directories already exist in this case but in version 4 > > people may have become accustomed to this behavior and right or wrong > > this type of change shouldn't be made without warning to the users or > > possibly not made at all. > > What part of the phrase "security risk" are you failing to understand? > If anybody out there is actually relying on having an automounter daemon > that is running with root privileges try to create directories on remote > servers on the basis of the output of the 'showmount' command, then they > need saving from themselves. > Haha ... point taken.