• 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: Removing a system extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing a system extension


  • Subject: Re: Removing a system extension
  • From: "Corey O'Connor" <email@hidden>
  • Date: Sun, 18 Sep 2005 23:19:54 -0700

On 9/18/05, Peter <email@hidden> wrote:
>
>   args[0] = "-r";
>   args[1] = path;
>   args[2] = NULL;
>   err = AuthorizationExecuteWithPrivileges(authorizationRef,
>                              removeProg, 0, args, NULL);

I haven't executed a program using the security framework, but if it
works like any of the others then the 1st argument will be the program
name. EG:

args[0] = "rm";
args[1] = "-r";

/// And so on

I'd imagine that when rm is executing it is lacking the "-r" switch,
causing it to fail. I can't really tell without the error the
execution returns. What is the value of "err"?

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Removing a system extension
      • From: Peter <email@hidden>
References: 
 >Removing a system extension (From: Peter <email@hidden>)

  • Prev by Date: Re: COCOa Complete reference
  • Next by Date: Copying unreleased UI elements
  • Previous by thread: Removing a system extension
  • Next by thread: Re: Removing a system extension
  • Index(es):
    • Date
    • Thread