From owner-freebsd-questions Thu Jul 25 00:31:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA23773 for questions-outgoing; Thu, 25 Jul 1996 00:31:04 -0700 (PDT) Received: from btp1da.phy.uni-bayreuth.de (btp1da.phy.uni-bayreuth.de [132.180.20.32]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA23760 for ; Thu, 25 Jul 1996 00:30:55 -0700 (PDT) Received: (from root@localhost) by btp1da.phy.uni-bayreuth.de (8.7.5/8.6.12) id JAA16378; Thu, 25 Jul 1996 09:27:02 GMT From: Werner Griessl Message-Id: <199607250927.JAA16378@btp1da.phy.uni-bayreuth.de> Subject: Re: Quick NFS question To: blair@strech.cyber-naut.com (Blair Schmittel) Date: Thu, 25 Jul 1996 09:27:02 +0000 () Cc: questions@freebsd.org In-Reply-To: <199607242222.QAA19990@strech.cyber-naut.com> from Blair Schmittel at "Jul 24, 96 04:22:01 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Hello; > > I have a question on exporting NFS filesystems. Is only possible to > export partitions, such as /, and /usr. What I want to do is export > /usr/two, but I keep getting a permision denied error. > > Thanks, > Blair > You can use the -alldirs option in /etc/exports . For example "/usr -maproot=0 -alldirs hostlist" will allow /usr/two to mount via nfs from hosts in hostlist. Werner P.S.: Don't forget to set "nfs_server=YES" in /etc/sysconfig !