Overwrites but can't delete

Please post your support questions here.

Moderators: Eraser DevTeam, Eraser Moderators

Overwrites but can't delete

Postby bluerted » Tue Jun 12, 2012 9:33 pm

Yes, I'm running elevated, just as the FAQ says - shut down the instance, checked to ensure the process wasn't running, re-ran as admin, got the UAC prompt. Eraser 6 is happy to overwrite each file but leaves a zero-byte randomly renamed entry in the folder and a "files' permissions prevent access to this file" log entry.

Maybe I shouldn't worry, as I can delete each of these files. But it does leave the folder names intact.

Any suggestions?
bluerted
 
Posts: 1
Joined: Tue Jun 12, 2012 9:23 pm

Re: Overwrites but can't delete

Postby DavidHB » Wed Jun 13, 2012 7:15 pm

I assume you are using Windows 7; which version of Eraser are you using?

How did you initiate the task: context menu, drag and drop or in the schedule?

Is the zero byte file visible in Explorer, or did you find it in some other way? And were you trying to erase the folders whose names were left intact.

The purpose of these questions is to see if I can reproduce your results.

I suspect that Eraser may have had difficulty with one file (perhaps one that by accident has come to be owned by the hidden System User, whose files cannot even be accessed when you run elevated). In the past, I have found that these odd file system related problems can often be worked around by moving the file/folder in question to the Recycle Bin and erasing that. If the problem is the Recycle Bin folder itself (as it can be), the inelegant but usually effective solution is to run Explorer elevated, delete the hidden system Recycled folder on the target drive and then (if you need to) do a free space erase.

David
I am not an Eraser programmer, but a long-time user; my views may not be the same as those of the Eraser programming team.
Before posting, please read the top 4 topics in the Eraser FAQ, which already provide many of the answers users need.
DavidHB
Eraser Wizard
 
Posts: 2166
Joined: Sat Jan 23, 2010 8:10 pm
Location: Isle of Wight, UK

Re: Overwrites but can't delete

Postby Joel » Thu Jun 14, 2012 5:58 am

It does seem to be a permissions problem; NTFS does allow files to be modified (which is what step 1 of erasing would do) but not deleted (which is what step 2 of erasing would do). In those situations you'll have an error like yours.

The easier approach is to do as David says. The more complex approach, if you know what you are doing, is to reset the file's permissions to give your user account full control (or just grant modify/deletion rights)

The NTFS permissions system is *very* complicated. I do not know of any other OS with the same level of permissions and configurability, which is powerful but also makes it a maintenance/sysadmin nightmare.
Be sure to read the FAQ before posting. If you found this application useful, please contribute to Eraser's development.

I develop Eraser but I am not an employee of Heidi Computers Ltd. My views do not represent those of Heidi Computers Ltd.
Don't PM or Email me questions: they won't be answered any faster than on the forum and knowledge won't be accessible by all.
User avatar
Joel
Eraser DevTeam
 
Posts: 3688
Joined: Sat Aug 19, 2006 12:16 am
Location: Singapore

Re: Overwrites but can't delete

Postby DavidHB » Thu Jun 14, 2012 12:13 pm

Unless you really know what you are doing (or have no other option), I'd recommend against manual changes in permissions. I have done it (and still do it occasionally), but my experience confirms what Joel says, in that it is all too easy not to get what you wand and/or to produce results you did not intends.

David
I am not an Eraser programmer, but a long-time user; my views may not be the same as those of the Eraser programming team.
Before posting, please read the top 4 topics in the Eraser FAQ, which already provide many of the answers users need.
DavidHB
Eraser Wizard
 
Posts: 2166
Joined: Sat Jan 23, 2010 8:10 pm
Location: Isle of Wight, UK


Return to Eraser Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests