NFS Data directory on Synology DSM 5.2

Nextcloud version (eg, 12.0.2): 17.0.1
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): Apache2
PHP version (eg, 7.1): 7.2

Hi,
I’m trying to setup a Nextcloud with the datadirectory on my Synology NAS. However, when I plug my details into the NextCloud initial config page, I always get a 0770 error “Your data directory is readable by other users. Please change the permissions to 0770 so that the directory cannot be listed by other users.”

On Synology:

  • Enabled NFS (not NFS4)
  • Enabled “Apply default UNIX permissions”

On the Shared folder itself:
Permissions
Local users = admin (read/write)
Local groups = administrators (read/write)

NFS Permissions:
Hostname *
Privilege Read/Write
Squash: Map all users to admin
Security: Sys
Enable asynchronous: yes
Allow users to access mounted subfolders: yes

On Ubuntu I have done: mount -t nfs 192.168.1.12:/volume1/nextcloud /mnt/nextcloud

No matter what I cannot get past the “0770” error page. I’ve tried various combinations of mounting manually using sudo mount as well as putting the NFS share in /etc/fstab and I can’t get it working. Can someone who has managed tog et it working on their synology share their setup?

Did you ever solve this?

Same here :frowning: