<p dir="ltr">Is there an account on the client called contentmanager ? with a gid of 506?</p>
<br><div class="gmail_quote"><div dir="ltr">On Sun, Aug 23, 2015, 02:16 Zama Ques <<a href="mailto:queszama@yahoo.in">queszama@yahoo.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:12px"><div><br><br><br><br><br><br><br>
</div><div>
<div dir="ltr">
<div>We are accessing <code>NFS mounts</code> across three hosts. The issue for us is that when we change the ownership of a directory on <code>NFS mount</code> on the server, the ownership changes are not taking place on the client. It is getting changed to <code>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><code>$ id contentmanager
uid=506(contentmanager) gid=500(admin) groups=500(admin)
</code></pre>
<div><code>UID</code> is same on both client and server machines. </div>
<div>Also, if we change the ownership to <code>contentmanager</code> manually on the client, it is getting changed to <code>nobody</code> user. But if changed to some other user, it works fine. </div>
<div>Please find /etc/exports for the particular directory on the server. </div>
<pre><code>/shareddata/share *(rw,no_root_squash,sync)
</code></pre>
<div>On the client machine, it is mounted as follows</div>
<pre><code>lnxq-004:/shareddata/share /data/share nfs vers=3,rw 0 0
</code></pre>
<div>Example on the Server:</div>
<pre><code>$ 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>Example on the Client:</div>
<pre><code>$ 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>This is the issue where the ownership is not getting changed to <code>contentmanager</code></div>
</div></div><div></div></div></div>--<br>
redhat-sysadmin-list mailing list<br>
<a href="mailto:redhat-sysadmin-list@redhat.com" target="_blank">redhat-sysadmin-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list</a></blockquote></div>