<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Özkan,</p>
<p>The first thing that comes to mind is "no_root_squash" and, based
on your example setting with options like "anon=root", I assume
this option can be set as well on OmniOS with the "sharenfs"
setting. <br>
</p>
<p>Maybe these will help:<br>
<a class="moz-txt-link-freetext" href="https://serverfault.com/questions/364613/centos-6-ldap-nfs-file-ownership-is-stuck-on-nobody">https://serverfault.com/questions/364613/centos-6-ldap-nfs-file-ownership-is-stuck-on-nobody</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.linuxtopia.org/online_books/rhel6/rhel_6_storage_admin/rhel_6_storage_s2-nfs-security-files.html">http://www.linuxtopia.org/online_books/rhel6/rhel_6_storage_admin/rhel_6_storage_s2-nfs-security-files.html</a></p>
<p><br>
</p>
<p>Disclaimer: I am not an expert on NFS! Far from it. The above
suggestion is based on some personal experience where I needed
that "no_root_squash" option (although that was with some Linux
distro's), and some Google-fu. With that said, I am not sure if it
adds a security threat or something.</p>
<p>Anyway, my two cents.</p>
<p>Regards,<br>
Andries<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2017-06-14 17:44, Özkan Göksu wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPu=dv13_70Cw3CfXycUXkEAYEh2QBZxfJajw6PG+zArXTmmLQ@mail.gmail.com">
<div dir="ltr">
<div>Hello.</div>
<div><br>
</div>
<div>I have a nfs share and zfs settings like= "sharenfs
anon=root,rw=* "</div>
<div>When i mount it from Centos, owner changes as nobody. (yes
im root on Centos)</div>
<div>But in omnios or ubuntu i see as root when i mount it. </div>
<div><br>
</div>
<div>What is the cause of this problem?<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OmniOS-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a>
<a class="moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>