Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Secure Empty Trash hangs

After installing Leopard, I relaunched Finder. Now when I go to Secure Empty Trash it hangs with 4 untrashed items. Is there another way, eg from the command line, I can empty these items? (Empty Trash works normally)

If I do use the command line, what command do I use?

For my information, where-abouts in the file system, is the Trash located?

PowerPC Mac Mini, Mac OS X (10.5)

Posted on Oct 27, 2007 2:00 AM

Reply
91 replies

Nov 3, 2007 1:27 PM in response to Barry Clarke1

Yes, you are not alone. This bug seems to affect everyone, G4, G5 and Dual Core.

As others have noted and my own experience has confirmed: -items in trash are miscounted, -it hangs up with usually just a few items left (in my case, 5 or 6 seems to be the magic number), -it does not matter how long you give it to overwrite (up to 12 hours in one try), -nor does the size of the file seem to have any bearing, and while it does seem to work if you choose Empty Trash instead of Secure Empty Trash, I have not seen any gain in disk space as I would normally expect too. I am really disappointed in having this bug on such a top line function. This should have been caught and corrected way before the release date. Let us hope that a fix will be on its way to us by week's end.

Nov 4, 2007 2:12 PM in response to PB Boy

While the problem remains unresolved, I was able to regain some of my HD space by using the Disk Utility program. I verified the drive and no repairs were needed. Verified the permissions and I did find the follow: Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
Whatever! But once I came out of this I did have more space on my drive after I restarted. For the time being I will just use Empty Trash.

Nov 5, 2007 2:56 AM in response to etresoft

Did that initial empty take longer than usual, with an apparent hang?

I am getting the hang problem described by others. I placed ONE item in the trash. When I go Secure Empty, it says it has to empty TEN items and hangs. I am going to leave it for a while and see if anything happens. I know Secure... takes longer but it was never this slow.

Message was edited by: Steve P.

Nov 5, 2007 6:31 AM in response to Steve P.

Steve P. wrote:
Did that initial empty take longer than usual, with an apparent hang?


I had, I think, 10 very small items. It was hung for a couple of minutes, longer than it should have been with those very small items.

I am getting the hang problem described by others. I placed ONE item in the trash. When I go Secure Empty, it says it has to empty TEN items and hangs. I am going to leave it for a while and see if anything happens. I know Secure... takes longer but it was never this slow.


What was that one item? Sometimes, 1 item in MacOS X is actually a directory holding many items. You may already know that, of couse. I can't tell.

It seems to me that secure empty is actually quite a bit faster than it was under Tiger. I don't know if that is a good thing or not. Is it not over-writing as much? I think it is supposed to overwrite files 7 times with random data. If those files are large, that can take a while. It should be on the order of minutes for small files and up to an hour or more for large files.

Personally, I would put much more faith in secure empty trash if I could see the source. I need to know for sure they are turning off journaling for those files.

I always keep sensitive files in an encrypted archive anyway. Then I can just empty the trash without worrying about journaling.

If there is a "hang" in secure empty trash, I am 80% certain the "hang" is not in the secure file deletion. It is probably in the file count, or what the Finder thinks is the file count for the trash. If that could gets off, even by one, the Finder will stay in the "emptying trash" state forever. That doesn't necessarily means you files are still hanging around unencrypted. It just means the Finder is confused. I had hoped to fire up secure empty and then use Terminal to poke around in the Trash by hand and check the process activity to see what is actually going on. Unfortunately, I cannot reproduce the problem.

Secure Empty Trash hangs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.