From owner-freebsd-current Wed Jun 21 23: 5:56 2000 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 22CDE37C1B3 for ; Wed, 21 Jun 2000 23:05:51 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 22 Jun 2000 07:05:49 +0100 (BST) Date: Thu, 22 Jun 2000 07:05:49 +0100 From: David Malone To: clefevre@citeweb.net Cc: current@FreeBSD.ORG Subject: Re: mount_nfs/df bug? Message-ID: <20000622070549.A59530@walton.maths.tcd.ie> References: <20000620234825.A31951@cichlids.cichlids.com> <20000621091435.A15534@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from clefevre@no-spam.citeweb.net on Wed, Jun 21, 2000 at 09:50:57PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jun 21, 2000 at 09:50:57PM +0200, Cyrille Lefevre wrote: > well, what about exporting a directory w/o exporting a filesystem ? > which is usefull somethimes. possible too ? Add the directory to exports and HUP mountd. (I think that in the kernel the exports are at a filesystem level, so while you can export any directory a naughty client can do "cd ../../../.." and find their way back up to the top of the exported filesystem. Most people's NFS clients won't allow you to do this, but you could write your own client to do it). David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message