Turn off permission check
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.
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
participants (2)
-
Daniel Gryniewicz -
QR