Summary: | file copying should preserve extended attributes | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Mathias Panzenböck <grosser.meister.morti> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | adawit, alex.bikadorov, elvis.angelaccio, funkybomber, greob, kdelibs-bugs, moritzherrmann09+kde.org, nate, nortexoid, opalinsp+kde, simonandric5 |
Priority: | NOR | Keywords: | usability |
Version: | 5.33.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mathias Panzenböck
2011-05-28 05:15:55 UTC
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 +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 |