Here is my system:
-
Proxmox host
-
TrueNAS 25.04.2.4 VM (passed-through ZFS array)
-
Syncthing installed as TrueNAS app with host networking enabled
-
Windows 11 PC running syncthing via SyncTrayzor
I’m running Syncthing as a TrueNAS app, attempting to one-way sync Documents folder from Windows PC to SMB share.
Some config info:
-
Created dedicated user in TrueNAS (sync_user)with SMB authentication enabled.
-
Dataset uses NFSv4 ACLs with owner having “Full Control”
-
Syncthing container configured to run as this user (verified UID/GID match)
-
SMB share working - can read/write/delete files from Windows
Here’s my problem:
Syncthing creates directories successfully but fails to sync files with error:
chmod /vault/Documents/[path]: operation not permitted
Even when logged in as the file owner, chmod operations fail:
sync_user@truenas:/mnt/Tank/Vault/Documents$ chmod 755 test_folder
chmod: changing permissions of 'test_folder': Operation not permitted
The user (sync_user) owns the files but cannot modify permissions. The ACL system is preventing chmod operations even for the file owner.
-
Syncthing successfully creates directories
-
Tries to set specific permissions (chmod) on those directories
-
Fails because NFSv4 ACLs block the chmod operation
-
Cannot complete the sync process
I’m at my wits end. I’m a novice with all this stuff and have been leveraging AI tools (claude, chat-GPT) to help me troubleshoot. I’ve been troubleshooting this for a week now and keep getting hung up at the exact same spot.
From my research, it seems like my options are:
-
Modifing ACL to explicitly grant write_acl permission to owner. (Not real sure what this will do, or what the implications are.)
-
Switch dataset from NFSv4 ACLs to POSIX permissions. (Also, not real sure what this means)
-
Configure Syncthing to ignore permissions. – This seems to be a solution that would fix the problem, but I feel like this would cause some problems down the road while my home lab evolves.
I’m very close to throwing in the towel and moving to another solution, but from what I’ve seen, syncthing seems like an awesome solution. I don’t understand what’s unique about my setup that is causing the base functionality of this service to fail. I really want this to work.
Thanks.