Re: Question about the Foundation Framework
Re: Question about the Foundation Framework
- Subject: Re: Question about the Foundation Framework
- From: Graham Lee <email@hidden>
- Date: Thu, 19 Feb 2009 17:42:57 +0000
- Acceptlanguage: en-US, en-GB
- Thread-topic: Question about the Foundation Framework
On 19/02/2009 15:36, "Michael Ash" <email@hidden> wrote:
> If you're looking for more information, note that NSTemporaryDirectory
> is essentially equivalent to /tmp on a normal UNIX system, although
> it's actually in a different location.
Hi Mike,
that's not quite true, NSTemporaryDirectory() should be somewhere like:
/var/folders/6G/6GtcG4aOHt0FanslHMn1Hk+++TI/-Tmp-/
which includes the security session ID in the path. That means that even if
the same user is running your Foundation code multiple times in different
login sessions, they won't be able to clobber each other.
Cheers,
Graham.
--
Graham Lee
Senior Macintosh Software Engineer, Sophos Plc.
+44 1235 540266
http://www.sophos.com/
Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden