NFS Query

Hi,

My query is on NFS,

I have shared the /test folder on Server A, whose owner is user "A" uid=101, gid=202

and mounted on Server B as /test1, whose owner is "A" uid=204, gid=204,

Now My query is if uid and gid of users of both servers are different how user A will have full access to /test mounted as /test1 directory on Server A.

As per my understanding I have to keep uid and gid of users of both the servers same

only then user A which is on server B have full access for /test directory,

wheather any other solution is there without keeping uid and gid same of both users which is created on SErver A and Server B?

Kindly suggest.

Regards,

Manoj

Try looking into the uid= and gid= in fstab nfs options.

Assuming you are on ServerB and adding the entry into the fstab...
Example fstab line:

ServerA:/test1    /test    nfs        uid=101,gid=202        1    0