Summary: | rename on vfat filesystem broken | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Edward Nygma <Enygma2002_ro> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andresbajotierra, faure |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Edward Nygma
2008-05-20 15:13:41 UTC
Using KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) (KDEmod) in ArchLinux i686: Using a VFAT USB pendrive. Trying to reproduce this bug,I got another related bug: Steps to reproduce: - Create a folder "aa" inside the USB pendrive - Create some file inside that folder - Rename "aa" to "Aa" An "Already Exists as Folder" dialog appears. - Click "Overwrite" A "File Already Exists" dialog appears (the file inside the folder) If you press Skip, nothing is changed and the folder remains "aa" If you press Overwrite, the dialog come back again. (you get and endless loop of clicking "overwrite" and "file already exists" dialog) this is a limitation of the linux kernel. the rename trick is the only way around i know. The thing is, KIO tries the rename trick internally already, but evidently fails in some cases. SVN commit 1109201 by dfaure: Fix qt4 porting bugs in the code that handles renaming to lowercase/uppercase on FAT partitions: The porting diff is amazing, looking back at it... - tmpFile.unlink(); + tmpFile.setAutoRemove(false); The other bug was a missing trailing slash in the tempfile prefix. CCBUG: 162358 M +26 -20 copyjob.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1109201 SVN commit 1109204 by dfaure: Also emit FileRenamed so that the view updates after the specially-handled-rename-on-FAT. CCBUG: 162358 M +1 -0 copyjob.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1109204 SVN commit 1109205 by dfaure: Backport both fixes for renaming-on-VFAT Fixed for: 4.4.2 BUG: 162358 M +27 -20 copyjob.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1109205 OK, I've been away for too long, 4.4.2 is already released. I meant, Fixed for: 4.4.3, then. |