`<div dir="ltr">Are you using NFSv4? Are all machines using the same idmap domain?<div><br></div><div>Ian</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 11:18 AM, Andries Annema <span dir="ltr"><<a href="mailto:an3s.annema@gmail.com" target="_blank">an3s.annema@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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="m_-3016044128481299447moz-txt-link-freetext" href="https://serverfault.com/questions/364613/centos-6-ldap-nfs-file-ownership-is-stuck-on-nobody" target="_blank">https://serverfault.com/<wbr>questions/364613/centos-6-<wbr>ldap-nfs-file-ownership-is-<wbr>stuck-on-nobody</a>
<br>
<a class="m_-3016044128481299447moz-txt-link-freetext" href="http://www.linuxtopia.org/online_books/rhel6/rhel_6_storage_admin/rhel_6_storage_s2-nfs-security-files.html" target="_blank">http://www.linuxtopia.org/<wbr>online_books/rhel6/rhel_6_<wbr>storage_admin/rhel_6_storage_<wbr>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><div><div class="h5">
<p><br>
</p>
<div class="m_-3016044128481299447moz-cite-prefix">On 2017-06-14 17:44, Özkan Göksu wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<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="m_-3016044128481299447mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
OmniOS-discuss mailing list
<a class="m_-3016044128481299447moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.<wbr>com</a>
<a class="m_-3016044128481299447moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.<wbr>com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ian Kaufman<br>Research Systems Administrator<br>UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu <br></div>
</div>
`