[quote=“tahakhan”]Not the only one, couldn’t find it either.
Had to come check the forums
[quote=“BrianH”]Heads up: This folder on my Mac running lion is not shown. I found the file in terminal, but spent a bit of time wondering why I wasn’t getting an error and not finding the file. I changed the folder to /Users/[My User]/tmp/cool.txt got the error and added the tmp to my user folder and then it worked.
I guess others got through this, so don’t know if it was unique to me.[/quote][/quote]
Note too that Apple takes some pains to obfuscate temp these days for security. If you want to use the randomized per-user temp files you can get the base path with something like this:
NSString *userTempPath = NSTemporaryDirectory();
NSLog(@"Per-User temp is: %@",userTempPath);