# Write node on Synology NAS

**URL:** <https://discourse.nodered.org/t/write-node-on-synology-nas/88430>\
**Category:** General\
**Tags:** docker\
**Created:** [1 June 2024 17:52 UTC](https://discourse.nodered.org/t/write-node-on-synology-nas/88430 "2024-06-01T17:52:00Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)\
**Post date:** [3 June 2024 23:34 UTC](https://discourse.nodered.org/t/write-node-on-synology-nas/88430/9 "2024-06-03T23:34:44Z")

</div>

Hi @Tomtom ,

looks like you do not have the correct user priviliges to create files and folder. I understand that you are running docker on Synology, than you will need to setup the correct file and folder permission to your /data and /backup folder.

Sorry, I have no idea on how this works on ynology, but in QNAP I had to use the filemanager to create a /backup and add PUBLIC access with permission to create/change files and subfolders .. additionally I mad sure that all my reguistered QNAP-users have full-access to this folder.

The above will open-up your Node-Red file structure to everybody and you will have to close it down (limit user-access) as soon you have it working.

**Ways to test the folder access:**

1. go into your docker console for Node-Red and manually create a file in the /data folder .. if this does not work you have to check your file/folder/user settings until it works
2. do same as above and try to create the new /backup folder manually .. if it fails .. do same as above 😉
3. use your windows filemanager and log into your folder of the Node-Red /data or /backup folder .. try to create a file or subfolder

Your issue is not with Node-Red, but with the file/folder permission on Synology with docker. You need to get help from that direction.

I'm not using the docker-environment on my QNAP NAS anymore as there were too many device/environment specific elements to consider.

I'm now running a Ubuntu LINUX-Laptop with docker and mapping all my folders to the folders on my qnap qith a few simple steps

1. Create the folder on your NAS with normal user-credentials
2. Creat a folder map on your docker environment pointing to your NAS (mine is 192.168.2.240) and im using Webmin to do the mapping  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d18f4b618ef471ae3d37b1de89876d31b55a0384.png)
3. assign the folder to your NR-Docker image (I use portainer)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/9/293f2e9bd81e8b9a779a29ec8b5fd95057128ba9.png)
4. same can be done for as many folders you like 😉

---

_[View the full topic](https://discourse.nodered.org/t/write-node-on-synology-nas/88430)._
