Re: How to prevent a temp folder from being deleted

2014-03-27 Thread Mills, Steve
On Mar 26, 2014, at 17:50:55, Kyle Sluder wrote: > Wouldn't it be better to stop fighting the system and put your files in > a more appropriate place, like inside the document wrapper or in your > Application Support directory? Application Support; that's an idea. -- Steve Mills office: 952-818

Re: How to prevent a temp folder from being deleted

2014-03-26 Thread Kyle Sluder
On Wed, Mar 26, 2014, at 03:08 PM, Mills, Steve wrote: > 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

How to prevent a temp folder from being deleted

2014-03-26 Thread Mills, Steve
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 mig