Hi,
Firstly, thank for your time to help me.
I have storage stores static files for websites. I am using NFS share on this storage, and on all backend servers, i mounted this nfs share to be read and written by www user.
All files and folders should be written and owner by www user. However, some time there are few folders was created with root user and permission is drwx------ (700), and then www user can not write files to these folders.
I tried to enable auditd for www user but seem auditd doesn't work with nfs. Have you met this issue before, Do you have idea to debug, find this problem?
Thank for your help!
Here is my exports file:
Firstly, thank for your time to help me.
I have storage stores static files for websites. I am using NFS share on this storage, and on all backend servers, i mounted this nfs share to be read and written by www user.
All files and folders should be written and owner by www user. However, some time there are few folders was created with root user and permission is drwx------ (700), and then www user can not write files to these folders.
I tried to enable auditd for www user but seem auditd doesn't work with nfs. Have you met this issue before, Do you have idea to debug, find this problem?
Thank for your help!
Here is my exports file:
# cat /etc/exports
/path/to/staticfiles -maproot=www 10.x.x.x