The UIDs need to match for both the server and the workstation.  For example, 
on the server user abc has a UID of 1000 then on the workstation the user abc 
must also have the same UID.  The UID is in the /etc/passwd file.  In the 
following example the first 1000 is the UID, the second is the group (GID).

abc:x:1000:1000:ABC User,,,:/home/abc:/bin/bash

One simple method is to rsync the passwd/shadow files to keep the workstation 
and server in sync, but for production you really want a centrally managed 
user/pass system in place such as NIS, LDAP, etc.

Another caveat is that NFS trusts the network.  For example, it assumes that 
the host 10.0.0.10 is really who it expects it to be.  A good (though 
somewhat cumbersome for new *NIX users) is sfs found at http://www.fs.net

Finally, I am not sure about your distribution, but under Debian the nfs 
server and client required quite a lot of tweaking to get good network 
performance.  

Hope this helps,
Gustin

On November 28, 2004 10:20 pm, Shawn wrote:
> I have used nfs to share a directory on my server, and am able to mount it
> on my workstation.  I can read the files/directories there, but I'm getting
> a permssion error when I try to edit or create a file.
>
> Here's the pertinent line out of my exports file:
>
> /home/www/o2s   192.168.0.20(rw)
>
> And the file permissions on that folder are set like so: drwxr-xr-x
>
> Is this a simple case of adding the write permission for the group?  Or is
> there something else I need to do (like maybe a single sign on setup)?
>
> Thanks for any tips.
>
> Shawn
>
> _______________________________________________
> clug-talk mailing list
> [EMAIL PROTECTED]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying

-- 
No trees were harmed in the transmission of this message, however a large 
number of electrons were seriously inconvenienced.

Attachment: pgpWJ6e56RVaP.pgp
Description: PGP signature

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to