Install data directory on NFS share


I’am curently try to put my newtcloud Data on a NFS share store on my synology problem is now when I launch OCC command I have this message

Your data directory is readable by other users
Please change the permissions to 0770 so that the directory cannot be listed by other users.

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /usr/share/webapps/nextcloud/lib/private/Console/Application.php:168
Stack trace:
#0 /usr/share/webapps/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#1 /usr/share/webapps/nextcloud/occ(11): require_once('/usr/share/weba...')
#2 {main}%                

but NFS share is by default readable by all user no?

does he have an option to switch this test in OCC command?

Nextcloud version : 20
Operating system : Archlinux
Apache or nginx version: Nginx 1.18
PHP version: 7.4

You’ll need to adjust the permissions so it can be listed by the other users. Nice instructions can be searched out online.

Ok but with NFS permission are Always for all user isn’t it?