Re: AuthorizationExecuteWithPrivileges question
Re: AuthorizationExecuteWithPrivileges question
- Subject: Re: AuthorizationExecuteWithPrivileges question
- From: James Dessart <email@hidden>
- Date: Thu, 14 Oct 2004 13:56:22 -0400
On Thu, 14 Oct 2004 13:45:50 -0400, Mark Douma <email@hidden> wrote:
>
When executing this code, only the folder specified in args[4] is
>
actually deleted. None of the files that would correspond to the first
>
3 paths are deleted. If I remove the *'s, and specify the actual paths
>
to the base-filenames, such as
execve and friends, which I'm pretty sure
AuthorizationExecuteWithPrivileges uses under the hood, does not do
wildcard expansion. This is done by the shell, and execve doesn't call
the shell, it runs the executable in question. However, if you used
the command name as an argument to the shell, then you could get what
you want.
James
_______________________________________________
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