<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div>Adam,</div><div><br></div><div>Thanks indeed!</div><div><br></div><div>I tried your suggestions. </div><div><br></div><div> -- I can mkdir</div><div> -- When I try to chown, I get the following error</div><div><br></div><div><div><b>chown: changing ownership of `nasir': Operation not permitted</b></div></div><div><br></div><div>Could you please explain me what do you mean by 'You probably need rwx permissions in /etc/export' ? This is my /etc/export file,</div><div><br></div><div><div><b>/xtra *(rw,fsid=0,insecure,no_root_squash,no_subtree_check)</b></div><div><b>/xtra gss/krb5(rw,fsid=0,insecure,no_root_squash,no_subtree_check)</b></div><div><b>/xtra gss/krb5i(rw,fsid=0,insecure,no_root_squash,no_subtree_check)</b></div><div><b>/xtra
gss/krb5p(rw,fsid=0,insecure,no_root_squash,no_subtree_check)</b></div></div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Also, I have configured a separate client machine (RHEL 6.1) and configured it as NFS server (previously my NFS server was IPA server itself) and the result is same. All the above commands are from this client machine only.</div><div><br></div><div>Thanks indeed again!</div><div><br></div><div>Regards,</div><div>Nidal</div><div><br></div><div><br></div><div><br></div><div><br></div><div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div id="yiv1497137959"><blockquote type="cite"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top"><div><font class="Apple-style-span" size="2"><br></font>
</div>
<div>
<div><b>oddjob-mkhomedir[16401]: error setting
permissions on /home/abc: Operation not permitted</b></div>
</div>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
It might be a root squash issue. My guess is that the order of
operations for creating a root directory, which is done by root, is:<br>
<br>
1. mkdir /home/userid<br>
2. chown uid:gid /home/userid<br>
<br>
It sounds from the error message that the first stage happened, but
NFS is not allowing the second stage. To confirm, as a root (and
kinit admin) user on the client machine, just try these two steps in
order and see if they still fail.<br>
<br>
chown is a different system call from mkdir, and might have
different nfs enforced permissions. You probably need rwx
permissions in /etc/export.</div><div id="yiv1497137959">
</div></blockquote></div></td></tr></table>