• 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: AuthorizationExecuteWithPrivileges question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AuthorizationExecuteWithPrivileges question
      • From: Mark Douma <email@hidden>
References: 
 >AuthorizationExecuteWithPrivileges question (From: Mark Douma <email@hidden>)

  • Prev by Date: AuthorizationExecuteWithPrivileges question
  • Next by Date: 'setObject:forKey only defined for abstract class' runtime error
  • Previous by thread: AuthorizationExecuteWithPrivileges question
  • Next by thread: Re: AuthorizationExecuteWithPrivileges question
  • Index(es):
    • Date
    • Thread