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

**URL:** <https://help.nextcloud.com/t/please-change-the-permissions-to-0770-so-that-the-directory-cannot-be-listed-by-other-people/195455>\
**Category:** ℹ️ Support\
**Tags:** docker\
**Created:** [June 18, 2024, 8:27am UTC](https://help.nextcloud.com/t/please-change-the-permissions-to-0770-so-that-the-directory-cannot-be-listed-by-other-people/195455 "2024-06-18T08:27:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amgschnappi](https://help.nextcloud.com/letter_avatar/amgschnappi/32/5_5575768a8748004e209b776fc1b2916d.png) [@amgschnappi](https://help.nextcloud.com/u/amgschnappi)\
**Post date:** [June 18, 2024, 8:27am UTC](https://help.nextcloud.com/t/please-change-the-permissions-to-0770-so-that-the-directory-cannot-be-listed-by-other-people/195455/1 "2024-06-18T08:27:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [June 18, 2024, 8:40am UTC](https://help.nextcloud.com/t/please-change-the-permissions-to-0770-so-that-the-directory-cannot-be-listed-by-other-people/195455/2 "2024-06-18T08:40:15Z")

</div>

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](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#check-data-directory-permissions)

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 1:28pm UTC](https://help.nextcloud.com/t/please-change-the-permissions-to-0770-so-that-the-directory-cannot-be-listed-by-other-people/195455/3 "2024-09-23T13:28:36Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
