I'm using AuthorizationExecuteWithPrivileges() to run /bin/rm within
some uninstaller code. I thought I had everything working, but today
it returned errAuthorizationToolEnvironmentError, which according to
the docs means "The attempt to execute the tool failed to return a
success or an error code." What does this mean? Under what
circumstances might rm return nothing? The arguments I'm passing are
"-rf" and the fully qualified path name, which contains a space but no
wildcards or any other special characters.
In case it matters, I call AuthorizationExecuteWithPrivileges() a few
times with the same AuthorizationRef.
--Andy
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]