-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Symlinks don't get updated #246
Comments
Yes, that's a know issue. See the disclaimer on symlinks in the wiki: https://github.com/SamSchott/maestral/wiki/Symlinks The problem is that we don't automatically get file system notifications for changes in symlinked locations. This is a deliberate choice by watchdog, the library that we use to monitor the file system: gorakhargosh/watchdog#365 I could work around this or try to submit a patch upstream but its not trivial. So far, there really has not been any demand. |
I actually didn't bother with watchdog for now so please excuse me if I'm wrong but I tested this feature with a simple script and it seems that watchdog actually saw the changes.
I tested this with a symlink from |
@samschott Thanks for the link to the wiki. I guess I'll stop using symlinks then. I'm just wondering how dropbox does Desktop and Documents syncing. |
Hm, not sure why it detects those for you. In my tests, no events where emitted. Watchdog did a complete rewrite of their macOS backend in the last release Dropbox itself respects only symlinks to other folders inside Dropbox. However, creating such intra-Dropbox symlinks is not supported by the public API. Symlinks pointing outside of the Dropbox folder will be synced as a symlink files instead of being followed: https://help.dropbox.com/installs-integrations/sync-uploads/symlinks |
I checked and I used 0.10.4 so it could be that. |
Describe the bug
When symlinking a folder into
~/Dropbox
the files get uploaded at first but changes don't get synced.Normal files work fine, it probably has to do something with the symlink (
ln -s
).To Reproduce
Run
ln -s /path/to/your/folder ~/Dropbox
.Change a file in
/path/to/your/folder
.Expected behaviour
The changed files should sync to the dropbox web service.
System (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: