Re: Removing a system extension
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