Hi everyone,
I would like to report an unusual behavior with the environment variable:
N8N_RESTRICT_FILE_ACCESS_TO
The documentation states that multiple paths should be provided as a colon-separated list (“:”). However, based on my tests running n8n in Docker, this format did not work.
Using “:” (as documented):
N8N_RESTRICT_FILE_ACCESS_TO=/path/one:/path/two:/path/three
What did work in my case was using a semicolon (“;”):
N8N_RESTRICT_FILE_ACCESS_TO=/path/one;/path/two;/path/three
After testing several combinations within the Docker environment, the only format that correctly was using “;”.
I’m sharing this as feedback because it may be useful to check whether:
- the documentation is incorrect,
- there is unexpected behavior specifically in Docker,
- or the formatting depends on the environment and should be clarified.
Thanks to the n8n team for the great work.
