Bug 203883 - data loss moving files with illegal characters
Summary: data loss moving files with illegal characters
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR grave
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 207912 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-14 21:36 UTC by dillonco
Modified: 2011-05-04 23:19 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dillonco 2009-08-14 21:36:37 UTC
Version:            (using KDE 4.3.0)
Installed from:    Gentoo Packages

When moving a file tree across file systems, files with characters that invalid in the the destination system are lost.  Note that this was observed in dolphin, but is likely a bug in a kdelibs move routine.

To replicate this bug, create the following file tree in an ext3 (or similarly permissive file system):
a/34:2342
a/111
b/5
b/6?24

and cut+paste the directories to at FAT file system.  You'll get "could not write..."; choose Auto Skip.  Though the files with the illegal chars will not be copied, the original directories will be removed, and the files will be lost.

There are some oddities here, because the last file is invalid:  Moving both directories and choosing "Skip" (not "Auto Skip") prevents the loss.  Perhaps because the dialog only offers "Cancel"?  Adding "b/z" will cause data loss regardless of your Skip/AutoSkip choice.
Comment 1 FiNeX 2009-08-15 10:38:41 UTC
I've reproduced this bug too (using current trunk). Changed to "GRAVE" because there is data loss.

Is this a kdelibs or a kio problem?
Comment 2 Michael Pyne 2009-08-16 02:27:15 UTC
It will probably be a KIO problem I would imagine.
Comment 3 FiNeX 2009-08-16 10:08:47 UTC
Ok Michael. I'll move it to KIO :-)
Comment 4 Jaime Torres 2009-12-06 12:48:46 UTC
It works for me using dolphin from KDE SC 4.4 Beta 1. The non moved files are still there having choosed autoskip.
Comment 5 FiNeX 2009-12-06 13:41:28 UTC
Yes, I confirm it has been fixed. I've just tested using KDE SC 4.3.81.
Comment 6 dillonco 2009-12-06 22:38:02 UTC
Just as a final thought, it was probably fixed with >>208418 for 4.3.3.  I was going to test, but have been slacking with updates (still on 4.2).
Comment 7 Dawit Alemayehu 2011-05-04 23:19:37 UTC
*** Bug 207912 has been marked as a duplicate of this bug. ***