On 2013 Jul 23, at 10:04, Public <[email protected]> wrote:

> I've googled and searched StackOverflow and they suggest I read Authorization 
> Services Programming Guide.

Ignore that.  This is more likely an NSTask issue, not an authorization issue.

> My question is: if the sqlite command is to be executed using the current 
> user (not root) against the current user's ~/Library/Preferences, what do you 
> recommend as an approach besides using Authorization Services?

NSTask is OK for quick, one-off operations but using it for serious database 
operations will be painful.  If you need sqlite, your time would be better 
spent learning to link the sqlite library directly and use sqlite's C interface.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to