Version: 1.6.1 (using KDE 4.6.3) OS: Linux Dolphin should preserve extended attributes when a file is copied, if possible. Maybe this is not a Dolphin but a KIO bug? I consider this a bug report and not an enhancement request, but you may differ. If so, change the severity. Reproducible: Always Steps to Reproduce: add extended attribute to a file: attr -s user.test -V "hello world" foo.txt copy file using dolphin Actual Results: extended attributes are not copied Expected Results: extended attributes are copied
The cp command does not do this either ; so expecting KIO to do it is more like an enhancement request to me.
Indeed. I think cp should do this as well. So its a feature request.
I think this should be changed to bug status now that metadata like tags and ratings are stored in extended attributes. Whether Dolphin preserves xattrbs is independent of whether cp and other commands do, since one would hope that if KDE makes use of xattrbs then those are preserved by its file manager operations like copy and move.
+1
*** Bug 370543 has been marked as a duplicate of this bug. ***
I was about to file a new bug report before noticing this one. Dolphin doesn't preserve xattr when copying, even from ext4 to ext4. I lost thousands of precious metadata because of this silent data loss. I consider it serious. cp DOES preserve extended file attributes with the -a flag. Thunar seems to preserve xattr when copying / moving files around already. Would this be difficult to implement in Dolphin? Is KIO the subsystem responsible for this? I'm asking in order to look around the source code. Thanks for your time.
(In reply to JKFRT from comment #7) > Would this be difficult to implement in Dolphin? Is KIO the subsystem > responsible for this? I'm asking in order to look around the source code. Yes, this should be implemented in the file kioslave (in the kio repository, that would be src/ioslaves/file/file_unix.cpp).
*** Bug 370371 has been marked as a duplicate of this bug. ***
Marking as major since this can cause silent data loss, and investigating what it might take to produce a patch.
*** This bug has been marked as a duplicate of bug 116617 ***
I have just posted a bounty for this bug. I'd like to see this issue fixed for both situations: 1) when saving a file with extended file attributes 2) when copying a file/folder with extended file attributes I know that this issue is multifaceted and serious, so this is my attempt to give it some renewed visibility and momentum! Please note that I will need to see it solved in the KDE Neon Developer edition before I release the reward! Happy coding! :) relevant bug reports: https://bugs.kde.org/show_bug.cgi?id=370543 https://bugs.kde.org/show_bug.cgi?id=274327 https://bugs.kde.org/show_bug.cgi?id=116617 bounty page: https://www.bountysource.com/issues/54395598-please-add-extended-attribute-support-setxattr-getxattr