Thank you dang, I will try this later.


--------------------------------


----- 原始邮件 -----
发件人:Daniel Gryniewicz <dang@redhat.com>
收件人:devel@lists.nfs-ganesha.org
主题:[NFS-Ganesha-Devel] Re: Turn off permission check
日期:2019年09月10日 20点56分

On 9/7/19 9:14 PM, QR wrote:
> This is a scene between linux and windows.
> We need to upload directories/files in linux, and use them in windows.
> Everything is going well except creating/removing files.
> The directory/file belongs to root and the mode is 0755/0644, but the
> user is -2, so fsal_check_access_no_acl fail.
>
> One work around is changing everything to 0777, but it's time consuming.
> So is their a way to turn off permission check in ganesha? Thanks in
> advance.
>
Sounds like you have root squashing turned on. It's on by default, so
you'd have to turn it off.
Root squashing changes all actions by the root user (0) to the anonymous
user (-2 by default). It's configured with the "Squash" parameter in
Export_Defaults or in an Export itself.
Daniel
_______________________________________________
Devel mailing list -- devel@lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org