BLACK FRIDAY 2026 LIVE: RackNerd 4GB VPS $47.98/yr (Lifetime) · ElevenLabs 55% Off · Hostinger 73% Off · Amazon Local AI Hardware View Verified Deals →
Medium · Docker & Linux

How to Fix EACCES: permission denied, open /home/node/.n8n/config

TL;DR Fix

Host bind-mount directory is owned by root:root instead of UID 1000 (the node user inside official n8n image). Prefer Docker named volumes (n8n_data:/home/node/.n8n) to avoid host UID drift.

Exact Error Signature

Error: EACCES: permission denied, mkdir /home/node/.n8n

Copy-Paste Fix Commands

sudo chown -R 1000:1000 ./n8n_data
docker compose restart n8n

Preventing Recurrence

Prefer Docker named volumes (n8n_data:/home/node/.n8n) to avoid host UID drift.

More Production Error Fixes