Bug 20010
Summary: | desktopconv seg faults and deletes files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | jmbastia | ||||
Component: | kdesupport | Assignee: | Bernhard Rosenkraenzer <bero> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 7.0 | CC: | jmbastia | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-10-30 23:48:59 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
jmbastia
2000-10-29 21:44:23 UTC
desktopconv is supposed to translate the old kde config files to new (2.x) ones, so you get to keep the mcons you put in the panel and stuff. I wasn't aware of the problem of deleting files it doesn't recognize; I'll fix that ASAP. I can't reproduce the problem of files being deleted... By any chance, are the files still there and located at ~/.kde/Desktop as opposed to ~/Desktop? The segmentation fault is fixed. Ahhh! I found my missing files in ~/.kde/Desktop Thank you very much! In any case, a manpage or somesuch on the desktopconv program would be nice, so people can find their "missing" files when they are moved. All is not well. As I indicated in the previous comment, I found the "missing" files in .kde/Desktop, however, when I went to use the files, I found almost all of them to be corrupted. The only files that survived were the plain ASCII text files. All of my multimedia files (MP3, MPEG 1 movies, MIDI files, WAVE files, etc) are corrupted (and significantly smaller, which explains the sudden increase in free space reported by df). The files are partially intact, though, as the 'file' command can read the magic and report some information about the files: [jmbastia@quentin MOLM]$ file pic01.jpg pic01.jpg: JPEG image data [jmbastia@quentin MOLM]$ display pic01.jpg display: Corrupt JPEG image (pic01.jpg) [No such file or directory]. I tried using ImageMagick and The Gimp to look at the pictures, and neither were successful. I even rebooted into Windows to see if it would have any luck - nothing. The files are all bad. I trust it was the seg fault that corrupted these files, and that by fixing the seg fault this won't happen to other people. Created attachment 4795 [details]
tarball of pic01.jpg (corrupted file) and pic01-good.jpg (good copy of same file)
Old versions of desktopconv touched a couple of files it was supposed to leave alone (desktopconv strips off old cruft like "# KDE Config File", or replacing "[KDE Desktop Entry]" with "[Desktop Entry]"). The Desktop directory was never meant to contain actual files, so I assumed everything in there is a .kdelnk to a real file/directory when I wrote desktopconv. This is fixed in the current version. I see the problem of followed symlinks and files moved from ~/Desktop to ~/.kde/Desktop also with kdesupport-2.0-5. Isn't it supposed to be the latest release? |