NFS Permision Problem

Mike Starke plug-discuss@lists.plug.phoenix.az.us
Tue, 17 Dec 2002 17:47:29 -0500


On Tue, Dec 17, 2002 at 02:26:39PM -0700, Carl Parrish wrote:
/_Okay I've got NFS running on two of my computers and I was able to mount
/_the sharable mount from one computer to the other. Now here is my issue
/_how do I give write permission for username@computer1 to
/_/nfs/dir@computer2? And yes in /etc/exports I set it as read write (rw).
/_This is what I attempted. I created a user with the same name on
/_computer2 (yes at some point I should have all my user accounts on the
/_same box) then created a group. I added the user to that group on
/_computer2 and gave that group ownership of the directory and rw
/_permision. username@computer2 can now successfully create files in the
/_directory. Now I go back to computer1 mount -t nfs the directory then su
/_- back to username and try to write to the directory It says I don't
/_have permission. What am I missing. Is there a setting to allow users on
/_remote hosts to write to the directory? Is there a way to add a remote
/_user to the group list? Please help. <g>
/_
Hmmm, last time I had this problem my UID/GID's did not match.
NFS was happy once I got the UID's the same rather than the
usernames.

HTH

-Mike