EGOPOLY

Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

/var/folders - are you kidding me?

2009-04-14 17:01:48

My friend Steve just asked me about /var/folders on Mac OS X. I had never heard of it. But guess what? It's a freaking caches of all kinds of shit, including screen shots of every web page you've ever been to in Safari.

It's outside your home directory. Even if you have FileVault turned on. If you turn private browsing on, it seems like stuff is NOT written there, but I'm not 100% sure of that yet.

What the hell, Apple? That's Microsoft-style security. ALL USER SHIT GOES IN THE USER HOME DIRECTORY. Dammit.

Guess what I'm adding to my boot script?

rm -rf /var/folders/*