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 to move the folder to the trash and empty it. So > that didn't work.
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? --Kyle Sluder _______________________________________________ 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