From owner-freebsd-questions Wed Feb 24 20:44:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.60]) by hub.freebsd.org (Postfix) with ESMTP id 8D7E514D07 for ; Wed, 24 Feb 1999 20:44:39 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.56.51]) by smtp02.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA4BDB; Wed, 24 Feb 1999 17:49:46 +0100 Received: from daemon.ninth-circle.org (abaddon@daemon.ninth-circle.org [192.168.0.1]) by daemon.ninth-circle.org (8.9.3/8.9.3) with ESMTP id RAA01322; Wed, 24 Feb 1999 17:49:20 +0100 (CET) (envelope-from asmodai@wxs.nl) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199902230325.VAA59636@as5200-01-254.no.neosoft.com> Date: Wed, 24 Feb 1999 17:49:19 +0100 (CET) Organization: Ninth Circle Enterprises From: Jeroen Ruigrok/Asmodai To: Conrad Sabatier Subject: RE: NFS help needed Cc: questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 23-Feb-99 Conrad Sabatier wrote: > > I just installed FreeBSD 3.1-STABLE on a friend's machine, and would like > to enable both of us to nfs mount any directory we like from each other's > machines. I've enabled NFS as both server and client on both machines, > but I'm having trouble getting the /etc/exports file setup properly. > Mountd keeps returning 'permission denied' errors. > > Could someone provide an example exports file that would allow either > machine to mount any part of the other's file system (as user root would > be fine)? I'd be *most* grateful. Shouldn't be that hard: /etc/exports /dir1 machine1 /dir2 machine2 /dir3/dir4 machine2 That's basically it for the exports file. Watch out for this though: /dir1 machine1 /dir2 machine2 /dir2/blah machine2 /dir2/bleh machine2 this will _NOT_ work since it has to be like this: /dir1 machine1 /dir2 /dir2/blah /dir2/bleh machine2 If ye need more ideas about how to set it up, just ask =) --- Jeroen Ruigrok van der Werven http://www.freebsdzine.org> asmodai(at)wxs.nl The idea does not replace the work... Network/Security Specialist *BSD: Powered by Knowledge & Know-how To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message