- Symptom
- Access to the file is not allowed. Allowed paths: /home/node/.n8n-filesMounted volume paths that worked in 1.x are rejectedRead Binary Files node fails on the same paths
- Cause
- n8n 2.0 sets N8N_RESTRICT_FILE_ACCESS_TO to ~/.n8n-files by default, so file nodes refuse paths outside it.
- Fix
- Mount data under /home/node/.n8n-files, or list the extra directories in N8N_RESTRICT_FILE_ACCESS_TO separated by semicolons.
- Apply
N8N_RESTRICT_FILE_ACCESS_TO=/home/node/.n8n-files;/data/shared- Affected
- n8n 2.0 and later
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders