Skip to content

Dangling symlink prevents filesystem watcher on FreeBSD #5360

@gihnius

Description

@gihnius

Easy to reproduce

$ cd $HOME/Sync/data
$ ln -snf /link-a-non-existing-file to-here

or from any sub folders inside your sync path

$ cd $HOME/Sync/data/ebooks
$ ln -snf /usr/local/www/non-existing book.pdf

then you will see the error message from your browser.

Filesystem Watcher Errors: error while traversing /path/to/exists/file_or_dir: no such file or directory

Version Information

v0.14.54, FreeBSD (64 bit)

Syncthing Version: v0.14.54
OS Version: FreeBSD 12.0-RC2
Browser Version: Chrome Version 70.0.3538.67 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions