Hi Özkan,

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.

Maybe these will help:
https://serverfault.com/questions/364613/centos-6-ldap-nfs-file-ownership-is-stuck-on-nobody
http://www.linuxtopia.org/online_books/rhel6/rhel_6_storage_admin/rhel_6_storage_s2-nfs-security-files.html


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.

Anyway, my two cents.

Regards,
Andries


On 2017-06-14 17:44, Özkan Göksu wrote:
Hello.

I have a nfs share and zfs settings like= "sharenfs anon=root,rw=* "
When i mount it from Centos, owner changes as nobody. (yes im root on Centos)
But in omnios or ubuntu i see as root when i mount it.

What is the cause of this problem?




_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to