• 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
Re: setuid tool - repair permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setuid tool - repair permissions


  • Subject: Re: setuid tool - repair permissions
  • From: Julian Devlin <email@hidden>
  • Date: Mon, 16 Jul 2007 11:19:35 -0500

I don't know if this is the root of the problem, but this:

char *myArguments[] = { "root:admin", fn };

should be:

char *myArguments[] = { "root:admin", fn, NULL };

I wouldn't be surprised if AuthorizationExecuteWithPrivileges does some sanity check on the number of arguments.


-Julian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: setuid tool - repair permissions
      • From: Chad Wagner <email@hidden>
References: 
 >setuid tool - repair permissions (From: Chad Wagner <email@hidden>)

  • Prev by Date: setuid tool - repair permissions
  • Next by Date: Re: setuid tool - repair permissions
  • Previous by thread: setuid tool - repair permissions
  • Next by thread: Re: setuid tool - repair permissions
  • Index(es):
    • Date
    • Thread