User Name
Password
AppleNova Forums » Genius Bar »

$TMPDIR location


Register Members List Calendar Search FAQ Posting Guidelines
$TMPDIR location
Thread Tools
ghoti
owner for sale by house
 
Join Date: Apr 2005
Location: Charlotte, NC
 
2009-06-22, 20:35

I was just looking for a log file one of my programs is supposed to create, and thought I was going nuts because I couldn't find it in /tmp. Turns out my $TMPDIR is set to something wacky: /var/folders/WX/WXSp5ODiEOGUylhOUP82a++++TI/-Tmp-/

Where is that being set? I assume this is a consequence of me doing an archive&install a few days ago, it definitely wasn't like that before. How can I get it back to /tmp?
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2009-06-22, 20:42

That's just how 10.5 uses tmpdir, AFAIK. Each user or app (can't remember which makes the distinction) gets its own directory under /private/var/folders/.
  quote
ghoti
owner for sale by house
 
Join Date: Apr 2005
Location: Charlotte, NC
 
2009-06-22, 20:49

But I had 10.5 before, and I didn't even know about $TMPDIR until I had to go hunting for my temp dir. I've always used /tmp and it worked fine. It's definitely not per app, because I can access it in Terminal.
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2009-06-22, 23:41

If you had upgraded previously, that's probably why it was /tmp before. In 10.5, it's supposed to be the rather odd path for security reasons.
  quote
FFL
Fishhead Family Reunited
 
Join Date: May 2004
Location: Slightly Off Center
 
2009-06-23, 03:38

thread title edited because the long nonbreaking word in the title was messing with the front page formatting
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing screenshot output location PKIDelirium Genius Bar 6 2007-07-19 14:19
location of desktop folder bruce Genius Bar 8 2007-05-30 00:43
Default User Pic Location? jdcfsu Apple Products 5 2006-09-21 09:06
switch network location CMKoehler Genius Bar 3 2006-01-07 17:42
Airport Location, WEP, Settings Saved Where... 04BlackWRX Genius Bar 2 2004-08-20 05:38


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 23:56.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova