Syncthing ver 1.3.0
Scenario:
PC (Windows 10)
Send & Receive (Folder1)
NAS (Linux)
Receive Only (Folder1)
Structure: Folder1/Folder2/File(1,2,3,…)
Problem:
Moving Folder2 out of Folder1 in PC resulted in:
- PC stuck “Syncing (95%, 0B)” with NAS
- NAS being “Out of Sync” with PC
NAS errors:
syncing: delete dir: directory has been deleted on a remote device but is not empty; the contents are probably ignored on that remote device, but not locally
syncing: delete file: trashcan versioner: archive: mkdir /var/syncthing/data/home/user/desktop/.stversions/Folder1/Folder2/Folder3: permission denied
All out of sync items are 0 bytes files.
As you can tell, there’s a permission problem, which I already fixed, but I’d like to know how I got here.
On the NAS side I have a user called “syncthing” with RWX to the folder all synced data goes to. Somehow Folder2 had R-W permissions for the owner (syncthing user) on both, the Folder2 inside the synced folder (Folder1) and the trashed version (of Folder2) inside .stversion (I believe there were 2 copies at the same time because Syncthing was not able to trash it yet).
What I want to know is that if syncthing made this folder, why was it R-X instead of RWX like the rest of the files and folders?