Bug 236380 - filemanager can't handle files with invalid encoded characters
Summary: filemanager can't handle files with invalid encoded characters
Status: RESOLVED INTENTIONAL
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 23:48 UTC by Konstantinos Kostarellis
Modified: 2010-05-04 23:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
an rar including a zero bity file with an invalid filename encoding (99 bytes, application/x-rar)
2010-05-04 23:50 UTC, Konstantinos Kostarellis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantinos Kostarellis 2010-05-04 23:48:38 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

If you have a file with a invalid character in the name filemanagers since 4.x can't handle them.
It not possible to copy, rename or delete such a file within dolphin or konqueror. Konqueror in version 3.5.x had no problem handling this, neither has for example nautilus. Als on shell you are able to rename, delete and copy such files.

Going to attach a rar containing a zero byte file with an invalid char encoded name.
To reproduce simply:
unrar x invalidchar.rar

try to access the file with kde filemanager and tools. All pretend the file is not available.

to delete that file go to console and simply delete.
Comment 1 Konstantinos Kostarellis 2010-05-04 23:50:19 UTC
Created attachment 43254 [details]
an rar including a zero bity file with an invalid filename encoding

unrar x invalidchar.rar

try to access with kde tools

to delete
rm CD1\ "tab"
Comment 2 Thiago Macieira 2010-05-04 23:57:57 UTC
This is intentional.

Invalid-encoded filenames are considered filesystem corruption. And, as such, it means you have to use filesystem corruption-fixing tools to fix them, just like you run fsck if the filesystem is broken.