This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5659 - renaming can generate filenames that are inaccessible from windows
Attached to Project:
Rockbox
Opened by tSav (FranzFerdinand) - Friday, 14 July 2006, 01:45 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 03 July 2007, 11:53 GMT+2
Opened by tSav (FranzFerdinand) - Friday, 14 July 2006, 01:45 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 03 July 2007, 11:53 GMT+2
|
DetailsI managed to rename the "pictures" folder in my X5 in "-<Pictures". The "<" makes the folder name invalid, hence the folder is inaccessible.
Is being able to change file/dir name to an invalid name a bug? |
This task depends upon
Also, I tried renaming a file by adding a "/", which is definitely invalid on FAT filesystems. That rename failed, so I wouldn't say you can generate invalid filenames using rockbox, only filenames that aren't accessible from windows.
$ % ' - _ @ ~ ` ! ( ) { } ^ # &
+ , ; = [ ]
. <space>
Maybe the validation code should be a little more strict...?
I believe Rockbox shouldn't break the FAT specs (which I admittedly haven't read), even if Linux is more forgiving.
FS#6358which checks for the following illegal characters: " * / : < > ? \\ |