At 01:24 PM 2/14/2013, you wrote: >> I get the Handle for this AuthorizationMBS class instance and the debugger >> reports that the Release and KeepRights values are as I've set them. > >Authorized is set to true by Authorizate and SimpleAuthorizate if they >succeed. Nowhere else. >Release just makes sure the Destructor does not free the authorization object >from Mac OS X. >And KeepRights just says to not use kAuthorizationFlagDestroyRights flag when >destroying. >So Release and KeepRights flags are just for destructor. > >Actually this class could need a rewrite.
On that respect; in Mountain Lion it require me to change some things and certain things are only available if I'm running as root, so I made a helper app and I use AuthorizationExecuteWithPrivilege to do what I need (not MBS, but I could). I understand that AuthorizationExecuteWithPrivilege is deprecated and we should be using SMJobBless. Would that be part of the rewrite? Garth Hjelte Sampler User _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
