The error means n8n inside the container doesn’t have permission to write to that directory. By default, the container runs as the user (UID 1000). If your host folder isn’t owned by UID 1000 or doesn’t have write permissions, the container can’t write to it. Adjust folder permissions on the host
Run these commands in the same directory as your :
I would recommend to change the volume mount to: ./n8n_files:/files
And then allow access to this directory with the environment variable N8N_RESTRICT_FILE_ACCESS_TO like this: N8N_RESTRICT_FILE_ACCESS_TO:”/files”