On Thu, Feb 19, 2009 at 7:36 AM, Michael Ash <michael....@gmail.com> wrote:
>
> If you're looking for more information, note that NSTemporaryDirectory
> is essentially equivalent to /tmp on a normal UNIX system

This is not quite true.

On Leopard, the dirhelper utility deletes files from
NSTemporaryDirectory that were last accessed more than three days ago;
if a user leaves your app running for more than 3 days, dirhelper will
happily delete files out from under it.

See http://www.cocoabuilder.com/archive/message/cocoa/2009/1/15/227830

Unfortunately, this makes NSTemporaryDirectory unusable for my
purposes as I need the data to be around for the lifetime of the app.

-Steve
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to