# Listing content of 2 folders with same user + permissions: One runs into EACCES: permission denied, the other not

**URL:** <https://discourse.nodered.org/t/listing-content-of-2-folders-with-same-user-permissions-one-runs-into-eacces-permission-denied-the-other-not/98148>\
**Category:** General\
**Tags:** docker\
**Created:** [15 July 2025 15:33 UTC](https://discourse.nodered.org/t/listing-content-of-2-folders-with-same-user-permissions-one-runs-into-eacces-permission-denied-the-other-not/98148 "2025-07-15T15:33:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CreativeWarlock](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/creativewarlock/32/102051_2.png) [@CreativeWarlock](https://discourse.nodered.org/u/CreativeWarlock)\
**Post date:** [15 July 2025 15:33 UTC](https://discourse.nodered.org/t/listing-content-of-2-folders-with-same-user-permissions-one-runs-into-eacces-permission-denied-the-other-not/98148/1 "2025-07-15T15:33:41Z")

</div>

Hello fellow Node-Red citizens,

I've recently started with a super fresh Node-Red installation, and was trying to list some files from my family-shared folder (/volume1/Family/0\_Gemeinsamer\_Ordner/eBooks) on my NAS - but for some reason the node 'fs list' runs into that 'EACCESS permission denied' issue.

Funnily though, listing files from another folder (/volume1/TradingData/Live\_Signal\_Data/) with the same, exact permissions and assigned user and group works!

I've been bashing my head against the desk for an hour, not able to find the reason why this happens. Let me share some screenshots with you - in case you like look into it and help me with some troubleshooting ideas:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/3/1323b210ca3c4c59efa451b0c5d16abba75a4769.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/b/fbeb187ddcdaf7a5a282c0ac83d637ce40e429ef.png)  
(ll is my alias to ls -la)

The docker container is configured as follows:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/6/76b20f44bdd549400c3c1832f578752def18990b.png)

The simple flow using 'node-red-contrib-filesystem' looks as follows:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/f/bfd11cfa5e0c3cedad81b2daf255deaae4366917.png)

On my NAS the above directories  
Family, and TradingData have been created by Blacky (admin role) and have read/write permissions.

Now, the Node-Red container runs as user '1000' of the group '1000'.  
However, this user was and has been able to read/write in the TradingData folder for many years, and I wonder why it wouldn't be able to read/write in the Family folder.

Any ideas where else I should look?

Cheers,  
Marcel

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 July 2025 15:50 UTC](https://discourse.nodered.org/t/listing-content-of-2-folders-with-same-user-permissions-one-runs-into-eacces-permission-denied-the-other-not/98148/2 "2025-07-15T15:50:50Z")

</div>

Try opening a terminal in the container and examine the folders from there. See if that tells you anything extra.

---

<div class="post-metadata">

**Author:** ![CreativeWarlock](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/creativewarlock/32/102051_2.png) [@CreativeWarlock](https://discourse.nodered.org/u/CreativeWarlock)\
**Post date:** [15 July 2025 16:26 UTC](https://discourse.nodered.org/t/listing-content-of-2-folders-with-same-user-permissions-one-runs-into-eacces-permission-denied-the-other-not/98148/3 "2025-07-15T16:26:44Z")

</div>

Files in there belong to the node-red user.

I guess I have to do some similar trickery like suggested here:

> **[Reddit - The heart of the internet](https://www.reddit.com/r/docker/comments/8fxpyn/docker_file_permissions/)**

I guess I should setup a docker-compose file rather than use the docker GUI from the Synology NAS - which for some reason does not provide a way to start Node-Red as a different user.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 July 2025 19:52 UTC](https://discourse.nodered.org/t/listing-content-of-2-folders-with-same-user-permissions-one-runs-into-eacces-permission-denied-the-other-not/98148/4 "2025-07-15T19:52:43Z")

</div>

> [@CreativeWarlock](#):
>
> Files in there belong to the node-red user.

That should not matter as you have made them r/w for everybody.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 October 2025 19:52 UTC](https://discourse.nodered.org/t/listing-content-of-2-folders-with-same-user-permissions-one-runs-into-eacces-permission-denied-the-other-not/98148/5 "2025-10-13T19:52:45Z")

</div>

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