Link to home
Start Free TrialLog in
Avatar of mnis2008
mnis2008

asked on

NFS Client - nobody group

Hello,

I have a Linux server which is configured as a NFS server. I am using NFS4 to export /home to a client server. I am able to succesfully mount exported /home as /home_new on my client NFS server. But here is the Issue

ON NFS Server :
$ cd /home
$ ls -l |grep proftp
drwxrwx---  5 proftp                      proftp                      106496 May 11 07:21 proftp

ON NFS Client :
$ cd /home_new
$ ls -l |grep proftp
drwxrwx---  5 proftp                      nobody                      106496 May 11 07:21 proftp

I have all the directories groups exported as "nobody". This is only one of the directories but I have almost 70 of them. So what configurations changes I missed.

Also /etc/exports on my NFS Server are
# cat /etc/exports
/exports        *(rw,sync,insecure,root_squash,no_subtree_check,fsid=0)
/exports/home   *(rw,nohide,sync,insecure,no_root_squash,no_subtree_check)

Also I have the same /home exported as /home_new on another NFS client and I am able to see proper permissions. So there is something on this particular NFS client that needs to be tweeked

Thanks

Avatar of jeremycrussell
jeremycrussell
Flag of United States of America image

Get the GIDs for proftp on the server and nobody on the client and they are likely the same number.

grep proftp /etc/group

Open in new window


Should end up with something like (your GID will vary)

nobody::60001:

I'm not real clear on the problem this is causing and what you are trying to get to...  on the client do you want the group for /home_new/proftp to read "proftp"?

Avatar of farzanj
Could you show
cat /etc/idmapd.conf
Avatar of mnis2008
mnis2008

ASKER

# cat /etc/idmapd.conf
[General]

Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain

[Mapping]

Nobody-User = nobody
Nobody-Group = nobody

[Translation]
Method = nsswitch
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial