I've been facing an NFS issue for the past few days and could really use some help.
My setup:
NAS Storage: Synology, NFS Export /volume1/data
Nextcloud App Server: Debian, NFS Client mounted at /mnt/storage_cloud
Mounting the NFS 4.1 export works fine, and I can access all the data with read/write permissions as the root user. However, the www-data user (which runs the Nextcloud application) can't access the directory at all.
What I’ve tried so far:
chown: -> changing ownership of 'storage_cloud': Operation not permitted
chmod 777 (I know this isn’t ideal, but worth a try): -> changing permissions of 'storage_cloud': Operation not permitted
setfacl: -> Operation not supported
After doing extensive research, I found that using Kerberos instead of sys_auth might be a solution, but I’ve found very little documentation or tutorials on this topic.
Given that my setup doesn’t seem particularly complex, it feels like there should be a simpler solution to allow proper access to the NFS share for www-data. I might be overcomplicating things.
I’d really appreciate any insights or suggestions!
Thanks in advance, PP