If I rename a file or folder and only change the case in windows it results in strange behavior of syncthing:
Folder case changes are not synced on windows
File name changes trigger a warning and file is not copied
creating file “document.txt” wait until sync (I put some text in it so file had 1kb)
rename the file to “dOcument.txt”
this results in a sync problem. only tmp file appears in the folder
just got worse: syncthing deleted the wrong file due to this confusion
Also addressed on github:
This is an issue. However, it is an issue with the Windows file system. It is not an issue with Syncthing. Windows is case aware, but not case sensitive. Syncthing on Linux does not have this problem because Linux file systems are case sensitive by default.
There is no solution short of the below:
fsutil.exe file setCaseSensitiveInfo <path> enable
See more details about this solution here (go to last post):
Your right. A Linux send only node cannot receive changes. However a Linux send only node could temporarily (then send only could be turned on) be used when all nodes are online to change file/ folder case(s) on Windows nodes. A two step rename could do the same thing with all nodes online too though. All a send only node really does is allow a case change without all nodes being online at the same time at the expense of not being able to add files to any other node until all nodes do come onlin…
Workaround : rename document.txt to dOkument.txt, let synch, then dOkument.txt to dOcument.txt
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.