<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px"><div id="yui_3_16_0_1_1440481553461_2328"><br><br><br><br><br><br><br>
            

</div><div id="yui_3_16_0_1_1440481553461_2408" class="">
    <div id="yui_3_16_0_1_1440481553461_2407" dir="ltr" class="" itemprop="text">

<div id="yui_3_16_0_1_1440481553461_2442" class="">We are accessing <code class="">NFS mounts</code> across three hosts. The issue for us is that when we change the ownership of a directory on <code class="">NFS mount</code> on the server, the ownership changes are not taking place on the client. It is getting changed to <code class="">nobody</code>
 on the client. The issue can be seen for a particular user , for other 
users it is working fine. The user in question is the following user. </div>

<pre id="yui_3_16_0_1_1440481553461_2426" class=""><code id="yui_3_16_0_1_1440481553461_2425" class="">$ id contentmanager
uid=506(contentmanager) gid=500(admin) groups=500(admin)
</code></pre>

<div id="yui_3_16_0_1_1440481553461_2424" class=""><code class="">UID</code> is same on both client and server machines. </div>

<div id="yui_3_16_0_1_1440481553461_2406" class="">Also, if we change the ownership to <code id="yui_3_16_0_1_1440481553461_2470" class="">contentmanager</code> manually on the client, it is getting changed to <code class="">nobody</code> user. But if changed to some other user, it works fine.  </div>

<div id="yui_3_16_0_1_1440481553461_2443" class="">Please find /etc/exports for the particular directory on the server. </div>

<pre id="yui_3_16_0_1_1440481553461_2445" class=""><code id="yui_3_16_0_1_1440481553461_2444" class="">/shareddata/share       *(rw,no_root_squash,sync)
</code></pre>

<div id="yui_3_16_0_1_1440481553461_2446" class="">On the client machine, it is mounted as follows</div>

<pre id="yui_3_16_0_1_1440481553461_2448" class=""><code id="yui_3_16_0_1_1440481553461_2447" class="">lnxq-004:/shareddata/share  /data/share  nfs   vers=3,rw   0  0    
</code></pre>

<div id="yui_3_16_0_1_1440481553461_2449" class="">Example on the Server:</div>

<pre id="yui_3_16_0_1_1440481553461_2450" class=""><code id="yui_3_16_0_1_1440481553461_2451" class="">$ sudo chown contentmanager test
$ ls -l
-rw-rw-r--  1 contentmanager admin    0 Aug 20 23:08 test

$ ls -ln test
 -rw-rw-r-- 1 506 500 0 Aug 20 23:08 test<br> </code></pre>

<div id="yui_3_16_0_1_1440481553461_2452" class="">Example on the Client:</div>

<pre id="yui_3_16_0_1_1440481553461_2469" class=""><code id="yui_3_16_0_1_1440481553461_2476" class="">$ ls -l
-rw-rw-r--  1 nobody admin    0 Aug 20 23:08 test

$ ls -ln test
-rw-rw-r-- 1 99 500 0 Aug 20 23:08 test
</code></pre>

<div id="yui_3_16_0_1_1440481553461_2477" class="">This is the issue where the ownership is not getting changed to <code class="">contentmanager</code></div>
    </div></div><div></div></div></body></html>