Write to disk in Docker N8N - forbidden by access permission

Hi @arauscher ,
Don’t know much about Docker, but this might help:

Docker runs n8n as user ID 1000 ( node), and your mounted volume is owned by 1002:1002.

You may try this solution here.

Otherwise try this:

  1. Change Ownership of the Host Directory - On your Ubuntu host, run:

    sudo chown -R 1002:1002 /home/rauscher/n8n/files
    sudo chmod -R 775 /home/rauscher/n8n/files
    

    to ensure your user inside the container has write access.

  2. Restart Your Docker Containers

    docker-compose down
    docker-compose up -d
    

If this helped you, please mark my reply as correct solution✅ and give it a like❤️
Have fun!:robot: