LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   UID mapping in linux NFS server (https://www.linuxquestions.org/questions/linux-general-1/uid-mapping-in-linux-nfs-server-4175581196/)

nitesh20202 06-01-2016 10:59 AM

UID mapping in linux NFS server
 
Can anyone let me know how can I map a UID 162 to UID 107 File in my nfs are getting created with permission 162:162 but on my local machine the userid for that specific user is 107 so I need to map it.

/etc/idmapd.conf

[Mapping]
Nobody-User = nobody
Nobody-Group = nobody

Can any one let me know how to map it in idmap.conf.

sundialsvcs 06-02-2016 08:05 PM

Well, where is "162" coming from? Some kind of "squash" directive? What user-id corresponds to 162 in various places?

nitesh20202 06-10-2016 08:24 AM

I got the solution was a workaround

/mnt/directoryname *(rw,all_squash,anonuid=107,anongid=114)

with this all file and folder will get generated by uid 107 and gid 114

Thank you


All times are GMT -5. The time now is 04:23 AM.