• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
What does errAuthorizationToolEnvironmentError mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What does errAuthorizationToolEnvironmentError mean?


  • Subject: What does errAuthorizationToolEnvironmentError mean?
  • From: Andy Lee <email@hidden>
  • Date: Thu, 22 Jan 2009 18:48:35 -0500

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@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


  • Follow-Ups:
    • Re: What does errAuthorizationToolEnvironmentError mean?
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: NSCaledarDate's deprecation
  • Next by Date: Re: Receiving user events from within an NSTimer callback
  • Previous by thread: Re: My objectcontroller is loosing its moc, but only with certain timing
  • Next by thread: Re: What does errAuthorizationToolEnvironmentError mean?
  • Index(es):
    • Date
    • Thread