I’m running Syncthing v1.30.0, Linux (32-bit ARM) on a Raspberry Pi running Raspbian GNU/Linux 12 (bookworm), completely updated.
I have mounted a folder (sync) on a WD Cloud NAS to /home/owner/sync which is then shared with a remote Windows 10 Pro computer also running Syncthing v1.30.0.
Here is the line I added to FSTAB:
//192.168.1.250/shared/SYNC /home/owner/sync cifs username=owner,password=xxxxxxxx 0 0
When I setup the PI, owner was the name I used (do not remember why) - when I created the subdirectory sync (/home/owner/sync) it showed as being owned by owner. After adding the above line to FSTAB and rebooting, the subdirectory sync and all it’s files (from the NAS) now show as being owned by root.
Since the files are owned by root, Syncthing cannot update them as it doesn’t have the rights.
What I have checked:
- The username and password in FSTAB have full RW rights to the NAS directory SYNC.
- Even with sudo I cannot chown the files in the subdirectory sync.
So I either have to give Syncthing full rights to the entire system, or, at least, the sync subdirectory, or I have to be able to mount the NAS drive with just owner rights.
I do not know how to do either of those things. Any hope would be much appreciated. TIA, Marc