Ticket #210 (accepted enhancement)
Eraser not deleting very long filenames, round 3
| Reported by: | borg42 | Owned by: | Joel |
|---|---|---|---|
| Priority: | major | Milestone: | Eraser 6.1/6.2 |
| Component: | Core | Version: | |
| Keywords: | long filenames | Cc: | |
| Processor Architecture: | Blocked By: | #277 | |
| Blocking: | Operating System: |
Description
I understand that handling of NTFS long filenames is not available in .NET, however, so it can't be fixed+forgotten, but the problem it creates is major _and_ there might be a workaround.. so please re-consider :)
Additions to the problem:
- MSN file sharing and IE can easily create too long filenames, so the problem may be pretty common
- On my PCs, erasing around too long filenames actually crashed Eraser, with only indirect hint (fragment of current filename string)
- Even free space deletion crashes
- The crash closes the parent process - even if it was explorer.exe
- Crashing is not a way for a GUI programme to respond to an issue in the wild, IMO :)
Suggestion:
- Catch exceptions around the erasing, (optionally?) skip on error and report it in the end
- Even better, check for filename length (on NTFS of course) and explicitly report
- Even better, move+rename the file to %TEMP% before processing, and restore afterwards (if needed). Not failproof (not sure about open files) + has a time window where power loss is problematic, so making it an option might be a good idea.
Using Eraser v5.84, Windows XP SP2, NTFS.
Blocking
| Id | Summary | Milestone |
|---|---|---|
| #210 | └ Eraser not deleting very long filenames, round 3 | Eraser 6.1/6.2 |
Blocked by
| Id | Summary | Milestone |
|---|---|---|
| #210 | └ Eraser not deleting very long filenames, round 3 | Eraser 6.1/6.2 |
| #277 | └ Eraser Unified File Manager | Eraser 6.1/6.2 |
Change History
Note: See
TracTickets for help on using
tickets.

Hmmm, okay thanks for reporting the new additions!
Responses to your suggestions
Thanks for the suggestions and after running through them we probably need something... more creative?