Please change the permissions to 0770 so that the directory cannot be listed by other people

Hello experts

I am getting “Please change the permissions to 0770 so that the directory cannot be listed by other people.” during admin login.

Kindly help.

Docker on windows10 using hyperV.

docker compose -->>

Nextcloud docker

name: nextcloud

services:
app:
image: nextcloud:latest
restart: always
ports:
- 8088:80
volumes:
- ${EXTERNAL_PATH}:/var/www/html/data
env_file:
- .env
environment:
NEXTCLOUD_TRUSTED_DOMAINS: ${NEXTCLOUD_TD}

.env →

EXTERNAL_PATH=…\NextCloud\data

Maybe it is not possible to change the rights. Then you must deactivate the check in config.php.

'check_data_directory_permissions' => true,

Configuration Parameters — Nextcloud latest Administration Manual latest documentation