Re: Confused about AuthorizationExecuteWithPrivileges and suid

2008-06-11 Thread Stephen J. Butler
On Wed, Jun 11, 2008 at 8:49 PM, Jason Coco <[EMAIL PROTECTED]> wrote: > The documentation is talking about using AuthorizationExecuteWithPrivleges() > to repair a setuid tool that you may have already created. It is also > suggesting that you use the setuid tool method rather than using > Authoriz

Re: Confused about AuthorizationExecuteWithPrivileges and suid

2008-06-11 Thread Jason Coco
The documentation is talking about using AuthorizationExecuteWithPrivleges() to repair a setuid tool that you may have already created. It is also suggesting that you use the setuid tool method rather than using AuthorizationExecuteWithPrivleges(). In this way, the setuid tool can limit i

Confused about AuthorizationExecuteWithPrivileges and suid

2008-06-11 Thread Eyal Redler
Hi All, I need to access some files in the Applications folder and in order to do so I did the following: 1. I've created a tool that copies the files into the Applications folder (using NSFileManager) 2. I'm invoking the tool using AuthorizationExecuteWithPrivileges() 3. In the tool I'm c