FS#9474 - Rbutil fails when a ".rockbox" file exists on the player
Attached to Project:
Rockbox
Opened by Luke Faraone (lfaraone) - Saturday, 11 October 2008, 12:56 GMT
Last edited by Dominik Wenger (Domonoky) - Saturday, 09 May 2009, 23:56 GMT
Opened by Luke Faraone (lfaraone) - Saturday, 11 October 2008, 12:56 GMT
Last edited by Dominik Wenger (Domonoky) - Saturday, 09 May 2009, 23:56 GMT
|
DetailsSteps to reproduce:
1) Set the target (in the qt gui) to a otherwise empty folder with a .rockbox file in it. 2) Click "Install Rockbox" A "cannot create directory" error is given. Ideally, rockbox would detect that there is a file there, as it currently does if you have a directory there. |
This task depends upon
Closed by Dominik Wenger (Domonoky)
Saturday, 09 May 2009, 23:56 GMT
Reason for closing: Wont Fix
Additional comments about closing: as long as it failes with a error message, this isnt a bug.
Saturday, 09 May 2009, 23:56 GMT
Reason for closing: Wont Fix
Additional comments about closing: as long as it failes with a error message, this isnt a bug.
If a file, .rockbox, exists the utility probably shouldn't overwrite it because it's probably there for a reason. It's not the same situation.
Is the bug the fact that the utility doesn't destroy files in its way, or what?
This problem confused me for a while, since my disk had filesystem errors, and after running checkdisk the OS replaced the corrupted .rockbox directory with a binary file of what it could recover.
So, yes, it would have been nice for a prompt to appear asking if the file could be removed.