Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BGTHEMOGUL

macrumors regular
Original poster
Nov 12, 2010
249
1
How come when I enable the "Secure Empty Trash" feature and put something into the trash and then empty the trash it says it's emptying 4 things even though I only put one single item into the trash bin?
 
Inside the folder there are two hidden files: .DS_Store and .localized. In addition if you delete the a folder an additional .DS_Store is removed; so that totals 4 files. :)

This is only when the Secure Empty Trash is selected, correct?

Because before I enabled this it would just delete the one item. Now when I put a text document in there and empty the trash it says deleting 4 items.
 
Well, if it makes you feel better it says 12 items for me. When I run the command "ls -a .Trash" it shows 4 "items" in there: ., .., .DS_Store, file. If I had to guess, I'd say the secure erase makes temporary doubles for overwriting purposes, and mine has double that due to also running FileVault.

Another contributor is that each volume mounted has its own .Trash folder on it, and when you go to delete, it checks each of them.

Other discussions:
http://discussions.apple.com/message.jspa?messageID=10420425
http://discussions.apple.com/thread.jspa?threadID=1469561&tstart=0
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.