Creating files and writing to file from Node-Red

I am having a problem , permissions error when I try and create a file from node-red in iHost, where can I have a sample or better directions how to use “File” in Node-Red on iHost and what is the path and directory where you should create a json file for logging purposes, how do you address a new volume you created and create a file and then write to the file.

A post was merged into an existing topic: Creating files on ihost with Node red

Yes, this is a good question and I would also like to know this.
I am specifically interested in how to populate the path in the file-out node, so I can create a file in the node-red filesystem in the docker image. What is the path to the node-red installation folder?

I read a post by one of the creators of Node-Red that to set the file path in Docker - always start with /data , otherwise it defaults to the working directory of the Node-RED process.
So in Filebrowser I set the volume to /srv/data and ran the Node-Red plugin and set also to /data.
After enabling context memory I use the file path /data/context/myfolder/ and I write constantly weather information and energy consumption to .csv files. Also it served as a path for saving a proxy, the cookie used by the Alexa node.

BTW @csongor.varga , this is thanks to your “auto logging” flow! :+1: - I run this in my version of that flow.