From owner-freebsd-questions Sat Aug 17 18:32:23 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA04428 for questions-outgoing; Sat, 17 Aug 1996 18:32:23 -0700 (PDT) Received: from sam.networx.ie (dublin-ts3-93.indigo.ie [194.125.133.93]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA04416 for ; Sat, 17 Aug 1996 18:32:17 -0700 (PDT) Received: from mip1.networx.ie (mip1.networx.ie [194.9.12.1]) by sam.networx.ie (8.6.12/8.6.12) with SMTP id XAA18167; Sat, 17 Aug 1996 23:27:26 +0100 X-Organisation: I.T. NetworX Ltd X-Business: Network Consultancy and Training X-Address: 67 Merrion Square, Dublin 2, Ireland X-Voice: +353-1-676-8866 X-Fax: +353-1-676-8868 Received: from mike.networx.ie by mip1.networx.ie Date: Sat, 17 Aug 1996 23:19:23 BST From: Michael Ryan Reply-To: mike@NetworX.ie Subject: Re: nfs problem with -alldirs To: Eric Blood Cc: freebsd-questions@freebsd.org Message-Id: Priority: Normal Mime-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 17 Aug 1996 01:28:38 -0700 Eric Blood wrote: > Two machines, winky (2.1.0) and wooster (May SNAP), on a local net > by themselves. winky's /etc/exports file is as follows: > > / -alldirs wooster > > It's my understanding that I should be able to mount winky:/home > or winky:/usr as well as winky:/. However, on wooster I get the > following: > > # mount winky:/home /mnt > nfs: can't access /home: Permission denied > # mount winky:/ /mnt > > Am I missing something? I'd guess that /home and /usr are not sub-directories of /; that's why the mount isn't suceeding. The "-alldirs" means all directories *within* the filesystem in field 1. You need something like / -alldirs wooster /usr -alldirs wooster /home -alldirs wooster You don't need the "-alldirs" in this case, if you don't want "wooster" to mount directories below the roots of each filesystem. Mike ---