You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I make the .stignore file a symbolic link to a file (say stignore) in the same directory as .stignore, i.e. a very simple symbolic link I get the following errors:-
2026-07-10 11:39:19: Failed to load ignores (error="open /home/chris/.share/.stignore: too many levels of symbolic links" log.pkg=model)
2026-07-10 11:39:19: Failed initial scan (error="loading ignores: open /home/chris/.share/.stignore: too many levels of symbolic links" folder.label=share folder.id=js5va-zt99v folder.type=sendreceive log.pkg=model)
The symbolic link is as follows:-
chris@q957$ cd /home/chris/.share
/home/chris/.share
chris@q957$ ls -l .stignore stignore
lrwxrwxrwx 1 chris chris 8 Jul 10 11:37 .stignore -> stignore
-rw-rw-r-- 1 chris chris 12 Jul 10 11:31 stignore
chris@q957$
Syncthing version
v2.1.2
Platform & operating system
Debian Linux
Browser version
No response
Relevant log output
Reacted by leo-kenji, im_zerou, Nicolas, Marius and zbbrx
I have this problem too since a recent update, both on linux and macos. This is actually pretty serious as it stops sync from working at all while the symlink is present. The symlink worked fine with an earlier version of syncthing.
It seems like the limit for symbolic links for the .stignore file is now 0? Seeing the error I expected my directories to be a big symlink tree, but it's just .stignore -> .stignore-canonical.
Activity
[-]“Too many symbolic links” but there aren’t[/-][+]“Too many symbolic links” loading ignores[/+]maia-s commentedon Jul 12, 2026
I have this problem too since a recent update, both on linux and macos. This is actually pretty serious as it stops sync from working at all while the symlink is present. The symlink worked fine with an earlier version of syncthing.
abh commentedon Jul 15, 2026
It seems like the limit for symbolic links for the .stignore file is now 0? Seeing the error I expected my directories to be a big symlink tree, but it's just
.stignore -> .stignore-canonical.abh commentedon Jul 15, 2026
Claude says #10739 caused this.
abh commentedon Jul 15, 2026
At a glance it looks like putting
#include {file}into.stignoreworks as a replacement for symlinking to{file}.fix(ignore, fs): allow loading ignore patterns behind symlink (fixes s…
Merge branch 'main' into jb/stoppedstate