My sync heavily relies on ignore patterns and followed the advice of pointing my .stignore to a .stglobalignore file. So far everything worked fine until I tried to exclude all hidden files by adding “(?d.*)” excluding my global ignore file at the end of my global ignore file. Suddenly Syncthing tries to traverse directories that were previously ignored.
For example I have the following ruleset (the complete file attached):
#snapshot !/.stglobalignore (?d).*
Now Syncthing tries to traverse “#snapshot”. I don’t understand it because I thought the order mattered and the first matching rule wins.
error while traversing /volume1/Grafik/#snapshot/GMT+01-2019.01.10-19.01.03/@eaDir/SYNO@.fileindexdb: permission denied
If I delete “!/.stglobalignore” everything works as expected but then my global ignore won’t get synced. Is this expected behaviour?
.stglobalignore (805 Bytes)