It appears that items in the TemporaryItems folder that are older than 3 days 
will be periodically deleted. (One of our guys found some Darwin docs that 
mention this.) This is a problem for users of our app that might keep it 
running for more than 3 days. We store a temp folder in there that might 
contain temp pieces of data for their open files, etc.

I'm looking for a way to prevent the folder from being deleted either by the OS 
or by the user while the app is still running. As a test, I set the NSFileBusy 
and NSFileImmutable flags on a file in our temp folder, but I was still able to 
move the folder to the trash and empty it. So that didn't work.

Ideas?

--
Steve Mills
office: 952-818-3871
home: 952-401-6255


_______________________________________________

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

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

Reply via email to