Read/write Node 'the file is not writable'

Hi everyone,

Im self-hosting n8n via linux debian through docker compose. I want to download a file from my google drive onto my linux server. I mapped a path in my compose.yaml, but I keep getting the error code that the file is not writable. I even ran ‘docker compose exec n8n touch /files/ttb_docs/test.txt’ and it worked.
here is how I mapped it in my compose.yaml:

originally this was given when setting up the compose.yaml via n8n docs:
./local-files:/files

how I changed it during mapping:
./local-files:/files/local-files
/home/user/ttb_docs:/files/ttb_docs

I tried so many things. I checked if the download from drive node is outputting binary data (it is). I checked the working directories. I checked with different file names. Nothing. SSH works great.

Hey I have a rudimentary solution that I built, lmk if you want to check it out. Just contact me here. It’s mainly a template, where you’d need to work out some of the specifics, but we can discuss more if you want me to change some things.