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 23, 2007 1:57 PM in response to Steve P.

Steve P. wrote:
"Beginning with Mac OS 10.3, Apple enhanced its security by introducing the Secure Empty Trash feature, which follows the U.S. DoD pattern of overwriting data seven times.


Actually, I think that's inaccurate. I have been using CCleaner on my Windows system for a long time, and the DoD erasure method, as suggested within that program, suggests a file 3-pass file overwrite, while the 7-pass erasure method is associated with the NSA.

No time to Google right now, but the author of one of the two programs in question is obviously confused.

Nov 28, 2007 1:40 PM in response to Barry Clarke1

Guys get this, I install a brand new internal HD perform a totally new clean installation of Leopard upgrade to 10.5.1 nothing else installed no migration nothing, move the pdf about stacks from the stacks folder to the trash and go to secure empty and it tells me there are 7 items!

My original HD is still in the machine and showing on the desktop but is and was "showing" an empty trash, could these extra hidden files actually be in the Leopard install?

Nov 30, 2007 4:36 PM in response to Barry Clarke1

After reading all the discussion here, this works for me with a 1.42 GHz PPC Mac Mini with a dual partition external LaCie FW drive and OSX 10.5.1. YMMV
1. Turn off Time Machine.
2. Dismount both partitions of the external FW drive.
3. Secure empty the trash.
4. Remount the external FW partitions again using Disk Utility.
5. Restart Time Machine and reselect the partition I want backup to.
6. Repeat the procedure as needed to secure empty the trash.
The secure trash seems to empty with a satisfying sound at the end. The file count while the trash is emptying is wrong. This works for me, but I'd rather the process was much easier. Dismounting only the TM backup partition doesn't work for me. I have to dismount both partitions.

leoblaisdell

Dec 1, 2007 11:52 PM in response to NoName

NoName,
Alsoft has a bit on their website about not repairing permissions on leopard from Diskwarrior:

"You should not use any utility to repair permissions of a Leopard start up disk while started from Mac OS X 10.4.x or earlier. Permissions will either not be be repaired or will be repaired improperly. This is true whether you repair permissions with Apple's Disk Utility, DiskWarrior, or any other third-party utility. Regardless of which utility you use, the same service within Mac OS X is used to perform the actual permissions repair so the behavior is always the same.

To repair permissions of a Leopard startup disk, be sure you've always started your Mac from Leopard. Alsoft also recommends using only the Disk Utility included with Leopard to repair permissions until an updated version of DiskWarrior is released.

Note: If you have used any utility to repair permissions of a Leopard startup disk while started from Mac OS X 10.4 or earlier, Alsoft recommends that you perform an upgrade install of Leopard over your existing Leopard install. This will restore any changed permissions to their original values without altering your data."

Dec 7, 2007 2:19 AM in response to Keith Lathrop1

To whom it may concern:

Indeed I have run into this bug on both my PowerBook (soon to be disowned by me) and my MacBook Pro.

I have had this issue, even when Time Machine is "turned off", thus I disagree with the assertion that Time Machine is the culprit hither.

However, it does seem to occur at times when an external drive is connected, and I have not seen it become occurrent absent that condition being present (I use FireWire 400 currently for an external drive).

This issue began post upgrade of Leopard, and has been persistent notwithstanding the upgrade to 10.5.1 upon release by Apple recently.

Lastly, it is particularly instructive that with Tiger when a secure erase was initiated, one could do a "ps -ef | grep srm" from a bash prompt and see the execution of the erase functioning, indeed no such srm seems present when executed after such a hang.


Very Respectfully Submitted,

Stuart B. Tener
Beverly Hills, CA / Las Vegas, NV / Philadelphia, PA / Washington, DC

Dec 7, 2007 10:43 AM in response to Stuart Blake Tener

I also find it true that when an external drive is connected "Secure Empty Trash" hangs. When I use the Terminal and use the command "rm -Prfd ~/.Trash" when the external drive is connected the trash gets emptied, also if I use "Permanent Eraser.app" from mac.softpedia.com the trash gets emptied.
I guess the way Apple handles "Secure Empty Trash" is the problem.

Dec 7, 2007 11:15 AM in response to Mandrin M.

To whom it shall concern:

Indeed your commentary is not inappropriate to use this software for secure trash removal; however, that notwithstanding, it is instructive that absent some several minor command line argument differentials, the srm command is basically the same as the rm command, excepting for the fact it performs a secure erase.

Thus, if you are not allergic to the shell prompt (I am not, as a 25 year System Administrator of Unix boxes) then using srm over rm might solve your secure erase issues (temporarily, albeit as well inconveniently) with an Apple supportable methodology.

While I am not adverse to GUIized software (especially that which is open source), though, I have a tendency to be desirous of asserting the leveragement of already existing capabilities which are also Apple supported within the compliment of software they provision.

Very Respectfully Submitted,

Stuart B. Tener
Beverly Hills, CA / Las Vegas, NV / Philadelphia, PA / Washington, DC

Dec 7, 2007 5:46 PM in response to Stuart Blake Tener

The point I was making is "srm", " rm" and "Permanent Eraser.app" all work. But Apples "Secure Empty Trash" hangs if an external drive is mounted. What I want is for Apple to repair this bug.
Some times I wonder if anyone from Apple's staff reads these Apple Discussions. I, like you, have a tendency to be desirous of asserting the leveragement of already existing capabilities which are also Apple supported within the compliment of software they provision.
What I want is for Apple to repair this bug.
I have been retired from writing OS programs for ten years now, and I have been working with Computers since 1963, and I don't see how it could be that hard for them to fix their Finder's "Secure Empty Trash" bug.

Dec 7, 2007 7:27 PM in response to Benny B

I went back and looked for the statement that Apple doesn't read these boards and could not find it.
But at my age (70+) I seem to miss a lot of things these days.
Thanks a lot for pointing this out to me and giving me the web address for feedback. I sent my feedback and I guess if enough users of Mac OS X (10.5.1) send in feedback on this problem they may fix it. Thanks again

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.