TrueNAS - Failed to create folder root directory mkdir /Test: permission denied..

Hey all,

I have followed many how to on the internet and youtube and can not seem to get Syncthing to work on TrueNAS. I would really appreciate some help!

I came across this tutorial https://www.youtube.com/watch?v=xkER4b5JX8g and followed it, but was getting same error. I’m on TrueNAS-12.0-U3 and I simply ran out of ideas. Notice

2021-04-19 19:42:17: Failed to create folder root directory mkdir /Test: permission denied

2021-04-19 19:42:17: Error on folder "Test" (Test): folder path missing

Sync user has all permission:

root@truenas[~]# getfacl /mnt/MojPool/syncthing_data
# file: /mnt/MojPool/syncthing_data
# owner: sync
# group: sync
            owner@:-wxp----------:-------:allow
            group@:-wxp----------:-------:deny
            owner@:rwxp--aARWcCos:-------:allow
            group@:r-----a-R-c--s:-------:allow
         everyone@:rwxp--a-R-c--s:-------:allow
root@truenas[~]#

Screenshots:

Found the solution!

Just in case someone still looking for a solution with this and it will come handy for someone who runs into same issue.

Folder path needs to be /mnt/syncthing_data and not /

No wonder sync user does not permission to write to root folder /

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.