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
Sync extended file attributes on supported file systems #2698
Comments
I am pretty sure it's a duplicate, but I can't find the original ticket. |
Maybe not an exact dupe of this, but at least related: #1329 |
If this got implemented/merged, can it be coded as optional? In many cases, xattrs / EAs propagation are not needed. |
I think it will work based on include/exclude lists. |
I'm KDE user. It's very important feature. I vote for it. Without I only can just play with syncthing without serios use because i'm going lose information.BtSync help currently out but OP Syncthing would be my favorit after the freature is implemented. I think this will be important also for OSx Users. |
This adds support for syncing extended attributes on supported filesystem on Linux, macOS, FreeBSD and NetBSD. Windows is currently excluded because the APIs seem onerous and annoying and frankly the uses cases seem few and far between. On Unixes this also covers ACLs as those are stored as extended attributes. Similar to ownership syncing this will optional & opt-in, which two settings controlling the main behavior: one to "sync" xattrs (read & write) and another one to "scan" xattrs (only read them so other devices can "sync" them, but not apply any locally).
For now, Syncthing is not preserve extended file attributes (xattrs) when sync, as says in FAQ. But some tagging engines for Linux (such as Baloo, former Nepomuk from KDE) stores metainformation (tags, comments, ratings etc.) exactly in xattrs, therefore this metainfo are not synchronized across the cluster. Maybe is possible to add optional feature to sync xattrs across nodes, if file system supports it?
Some (possibly) related articles:
https://en.wikipedia.org/wiki/Extended_file_attributes#Linux
https://community.kde.org/Baloo/Architecture
P.S. I apologise for my very bad english. Hope that you can understand me.
The text was updated successfully, but these errors were encountered: