Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 17:49:19 +0100 (CET)
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Conrad Sabatier <conrads@neosoft.com>
Cc:        questions@freebsd.org
Subject:   RE: NFS help needed
Message-ID:  <XFMail.990224174919.asmodai@wxs.nl>
In-Reply-To: <199902230325.VAA59636@as5200-01-254.no.neosoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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      <http://home.wxs.nl/~asmodai>;
*BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>;


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?XFMail.990224174919.asmodai>