Skip navigation.
 
mlRe: AuthorizationExecuteWithPrivileges question
FROM : James Dessart
DATE : Thu Oct 14 19:56:22 2004

On Thu, 14 Oct 2004 13:45:50 -0400, Mark Douma <<email_removed>> 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

Related mailsAuthorDate
mlAuthorizationExecuteWithPrivileges question Mark Douma Oct 14, 19:45
mlRe: AuthorizationExecuteWithPrivileges question James Dessart Oct 14, 19:56
mlRe: AuthorizationExecuteWithPrivileges question Mark Douma Oct 14, 21:06
mlRe: AuthorizationExecuteWithPrivileges question James Dessart Oct 14, 21:10
mlRe: AuthorizationExecuteWithPrivileges question Mark Douma Oct 14, 22:57