[SOLVED] Re: NSFileManager, 10.3.x and /tmp: bug?
[SOLVED] Re: NSFileManager, 10.3.x and /tmp: bug?
- Subject: [SOLVED] Re: NSFileManager, 10.3.x and /tmp: bug?
- From: Stéphane Sudre <email@hidden>
- Date: Sun, 16 Jan 2005 20:08:38 +0100
On dimanche, janvier 16, 2005, at 05:40 PM, The Karl Adam wrote:
exactly, you don't really need the 501 part and you may not even be
able to write to it. Also the function doesn't necessarily return just
/tmp last I tried.
I really need the 501 part as Mac OS X is a multi-user system and the
same application can be launched by 2 users.
I finally found where the problem really lied and in fact it was a
problem with an old file I created in /etc/mach_init.d.
I was asking for the creation of the folder via a CFMessagePort and the
fact is that the first time after boot time, the CFMessagePort was
swallowed by the mach_init.d stuff.
Anyway, I will use NSTemporaryDirectory() function instead of my
hardcoded path because it's better indeed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden