Le 23 sept. 2012 à 19:33, Garth Hjelte a écrit:

> If it's to the app file itself, do I just do a chmod 777 myapp.app to it, 
> either the user does it himself or I run a script from PackageMaker (yes, I 
> use Packagemaker).

You could set the “sticky” byte of the app's permissions and define the file's 
owner to root. It'd work, but I don't know how it's bad about security.
Or, if you want to have an authorisation for the lifetime of your app, you 
could authenticate from the main app (with Apple's authentication dialog; 
AuthenticationMBS) and then launch the helper with the granted rights; even 
when the main app looses the rights (which happens after several minutes, 
IIRC), the helper stays running with the permissions it had.

Please note I hope my memory is right here, but you can try.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to