Re: NSOperation: Selector being called before process finished
Re: NSOperation: Selector being called before process finished
- Subject: Re: NSOperation: Selector being called before process finished
- From: Kyle Sluder <email@hidden>
- Date: Wed, 26 Aug 2009 17:23:29 -0700
On Wed, Aug 26, 2009 at 5:01 PM, PCWiz<email@hidden> wrote:
> I have a class which is a subclass of NSOperation, that runs a shell script
> with AuthorizationExecuteWithPrivileges. Something like this:
You are not using AuthorizationExecuteWithPrivileges correctly. For
security reasons, the privileged code must be factored out into a
helper tool that is setuid root. This tool must use AEWP only to
repair its setuid status in case it loses it.
--Kyle Sluder
_______________________________________________
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