Re: Parental Controls - [Was: NSTask Explodes. Clueless.]
Re: Parental Controls - [Was: NSTask Explodes. Clueless.]
- Subject: Re: Parental Controls - [Was: NSTask Explodes. Clueless.]
- From: Seth Willits <email@hidden>
- Date: Sun, 12 May 2013 20:04:01 -0700
On May 12, 2013, at 6:47 PM, Ken Thomases wrote:
> On May 12, 2013, at 8:08 PM, Seth Willits wrote:
>
>> The user running my main application has parental controls enabled. The user is allowed to run the main application, and can, but the helper task that is bundled inside the main application's bundle is not allowed to run. When the *task* launches, *it* crashes, but since it happens *while* fork/exec'ing, the crash *appears* to be main application crashing, but it's not.
>>
>> When the task launches, the user is shown a dialog by the OS: "You don't have permission to use the application "mytask."" There are options to Always allow, allow once, and just ignore and move on. Allowing once, and even "Always allow" always results in the same message, and the task crashing. The permissions do not stick at all, probably because it's bundled inside the main .app package's Resource folder?
>>
>> Any ideas what to do?
>
> Is your helper task separately code-signed? It should be.
Yep. Always, and with the same identity as the main app.
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden