Date: Wed, 3 Jan 2001 23:31:10 -0800 From: "Crist J. Clark" <cjclark@reflexnet.net> To: Doug Barton <DougB@gorean.org> Cc: Daniel Leal <dleal@webvolution.net>, freebsd-questions@FreeBSD.ORG Subject: Re: nfs Message-ID: <20010103233110.I95729@rfx-64-6-211-149.users.reflexco> In-Reply-To: <3A5423DC.20C2812C@gorean.org>; from DougB@gorean.org on Wed, Jan 03, 2001 at 11:18:52PM -0800 References: <00122821175400.00794@farrusco.brabos.org> <3A5423DC.20C2812C@gorean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 03, 2001 at 11:18:52PM -0800, Doug Barton wrote: > Daniel Leal wrote: > > > > Hi everyone ! > > > > I have two machines running FreeBSD 4.2 stable. The machines are "ethernet > > connected". Because the hardisk of the second machine is not very large, I wish > > to mount the /usr/ports, /usr/src and /home from my first machine. > > Very reasonable idea. > > > But I am not > > understanding very well how can I tell it to /etc/exports. My problem is that > > /usr/ports should be mounted read-only with root mapped to nobody (I think), > > Why? If you don't really need it to be read only, there is no reason > for it to be. Additionally, you really want /usr/ports mounted r/w, > unless you never plan to build ports from the machine that has it > mounted. I guess being a security guy instills some paranoia. I look at this from just the opposite point of view. There is no reason to mount it read-write, so mount it read-only. > > but /usr/ports/distfiles should be mounted read-write (isn't it ?). And > > /usr/src should stay read-only. > > See above, there is no real reason to do this. I wanted to point out that if /usr/ports, /usr/ports/distfiles, and /usr/src all live on one filesystem, there is no way for each of those file trees to be exported with different properties to the same host. They all need to be the same. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103233110.I95729>