Skip site navigation (1)Skip section navigation (2)
Date:      19 Mar 2002 22:25:32 -0700
From:      Alex Rodioukov <simuran@shaw.ca>
To:        Nathan Mace <nmace85@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NFS problems
Message-ID:  <87zo13stdf.fsf@bismark.io.sys>
In-Reply-To: <200203200225.VAA27663@uce55.uchaswv.edu>
References:  <200203200200.aa34663@salmon.maths.tcd.ie> <200203200225.VAA27663@uce55.uchaswv.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Nathan Mace <nmace85@yahoo.com> writes:

[...]
> oh i wasn't running it as root.  but now when i run it as root, i get
> a flat out "permission denied" error.  the nfs_reserved_port_only was
> what i had to set to "NO" to get NFS to work....whats up with that?

You do have NFS relevant options enabled in kernel, don't you? :)

Assuming that you want to have rw access to the NFS share and that
you're exporting the $HOME of user 'nathan' and 'nathan' is the owner
of the files, I would check the following:

On server:
1. Options
  nfs_server_enable="YES"
  nfs_reserved_port_only="YES"
are set in /etc/rc.conf

2. You can see portmap, mountd, nfsd and rpc.statd processes running.

3. You might want to play with -maproot and -mapall in /etc/exports. I
guess in your case it might be useful to set -maproot=nathan


On client:
1. Options
  nfs_reserved_port_only="YES"
  nfs_client_enable="YES"
are set /etc/rc.conf

2. You can see nfsiod process running.

I would suggest rebooting both client and server after making all the
changes. 

> nathan

Regards,
  Alex.


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?87zo13stdf.fsf>