Describe the problem/error/question
Self‑hosted n8n v2.5.2 on TrueNAS SCALE (App). I mounted my NAS dataset into the n8n app as /home/node/.n8n-files (Host Path: /mnt/MY_Pool/MY_Files/SocialMedia, Automatic permissions ON). SMB share works from Windows (Y:).
In a simple test workflow, the Read/Write Files from Disk node tries to read /home/node/.n8n-files/incoming/hello.txt but fails with EACCES.
Inside the n8n app shell, the runtime user shows as UID 568 and cannot traverse /home/node/.n8n-files (Permission denied), even after adding an NFSv4 ACL entry for apps (or UID 568) with Full control + inherit and applying recursively on the dataset.
What is the error message (if any)?
Problem in node ‘Read/Write Files from Disk’
Forbidden by access permissions, make sure you have the right permissions
Error code: EACCES
Full message: EACCES: permission denied, lstat ‘/home/node/.n8n-files/incoming/hello.txt’
Extra debug (app shell):
whoami
# whoami: unknown uid 568
ls -ld /home/node/.n8n-files
# ls: /home/node/.n8n-files: Permission denied
Please share your workflow
JSON
{
"name": "Repro: EACCES on .n8n-files",
"nodes": [
{
"parameters": {},
"id": "ManualTrigger",
"name": "When clicking ‘Execute workflow’",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [200, 300]
},
{
"parameters": {
"operation": "read",
"fileSelector": "/home/node/.n8n-files/incoming/hello.txt",
"options": { "executeOnce": true }
},
"id": "ReadFromDisk",
"name": "Read/Write Files from Disk",
"type": "n8n-nodes-base.readWriteFile",
"typeVersion": 1,
"position": [500, 300]
},
{
"parameters": {
"operation": "write",
"filePath": "/home/node/.n8n-files/processed/hello-copy.txt",
"inputDataFieldName": "data"
},
"id": "WriteToDisk",
"name": "Read/Write Files from Disk1",
"type": "n8n-nodes-base.readWriteFile",
"typeVersion": 1,
"position": [800, 300]
}
],
"connections": {
"When clicking ‘Execute workflow’": { "main": [[{ "node": "Read/Write Files from Disk", "type": "main", "index": 0 }]] },
"Read/Write Files from Disk": { "main": [[{ "node": "Read/Write Files from Disk1", "type": "main", "index": 0 }]] }
},
"active": false
}
Share the output returned by the last node
The last node doesn’t run because the first file node fails with the error above.
Information on your n8n setup
- n8n version: 2.5.2 (Self‑hosted App on TrueNAS SCALE)
- Database (default: SQLite): SQLite (default)
- n8n EXECUTIONS_PROCESS setting (default: own, main): default (own)
- Running n8n via (Docker, npm, n8n cloud, desktop app): TrueNAS SCALE App
- Operating system: TrueNAS SCALE
What is the correct way to grant the n8n app user (UID 568 / apps) permission to traverse and read/write under /home/node/.n8n-files on TrueNAS SCALE SMB/NFSv4 ACLs? Even with a Full‑control + inherit ACE for apps (applied recursively), the container still gets EACCES. Any additional ACL flags or app configuration needed?