I have setup syncthing to backup files from my Windows 8.1 laptop in C:\Users (source) to a freenas 9.2 based syncthing (target). After setting up the C:\Users folder the initial syncs begins. The source folder is configured as a “Folder Master”. After the initial sync the target shows “Out of Sync” for all files. I checked the directories with freefilesync and found that in the target all files are replicated with a “.syncthing.” prefix. Enclosed find screenshots of the
Hm, strange. I’ve configured a new dataset as described in Permission Denied on any path I choose (FreeNAS) but I still get the chmod errors.
Will try a) storage local to the jail (not mounted) and b) and UNIX dataset later.
Btw: adding logs to syncthing in a freenas jail works by adding /etc/rc.conf.local
TL;DR: freenas does not support chmod with Windows permissions. Windows ACLs are stored in extended attributes so chmod is disabled as a safety to assure consistency in permissions. Syncthing fails the download if a final chmod fails.
For syncthing trying setfacl when chmod fails would elegantly get rid of this issue. Should I open an enhancement request for this?
We don’t support syncing ACLs, but there is an issue for it somewhere. Without that I don’t it makes sense to do setfacl calls. Another workaround would be to disable syncing permissions, by the way.