Date: Wed, 14 Mar 2001 16:29:07 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Sean Kelly <smkelly@zombie.org> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: mountd Message-ID: <20010314162907.Q29888@fw.wintelcom.net> In-Reply-To: <20010314182033.A54552@edgemaster.zombie.org>; from smkelly@zombie.org on Wed, Mar 14, 2001 at 06:20:33PM -0600 References: <20010314182033.A54552@edgemaster.zombie.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Sean Kelly <smkelly@zombie.org> [010314 16:20] wrote: > After reading the manpage and list archives, I've come to (what I believe) > to be the truth in that what I am trying to do with NFS is not possible > with the current implimentation of mountd. > > My NFS server has /usr on a single filesystem, yet I would like to share > subdirectories of /usr with different attributes. An example would be: > > /usr/ports readonly > /usr/src readonly > /usr/local/build read/write > > The idea is that machines with very little disk space will be able to build > ports and source using /usr/build/<hostname> as the workdir. As I > understand it, this can't be done since /usr is a single filesystem on the > server and must > a) be listed on single line in /etc/exports > b) have the same attributes for all exported directories > > Am I missing something? If not, why is FreeBSD's mountd implimented this > way when it causes severe limitations such as the one I just came across? > How hard would it be to reimpliment the system? Does anybody have any > suggestions for a quickfix? What is the answer to life, the universe, and > everything? Because it's almost trivial to guess a filehandle because they are based on inodes. If you don't trust a host enough to give it the most relaxed permissions across an entire mount point then you shouldn't be giving it access to that mount point at all. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010314162907.Q29888>