Re: Removing folder from /Applications

2008-07-08 Thread Jean-Daniel Dupas
Le 8 juil. 08 à 21:59, Chris Hanson a écrit : On Jul 8, 2008, at 11:19 AM, Nick Zitzmann wrote: On Jul 8, 2008, at 6:20 AM, Glover,David wrote: myStatus = AuthorizationCopyRights (myAuthorizationRef, &myRights, kAuthorizationEmptyEnvironment, myFlags, NULL);

Re: Removing folder from /Applications

2008-07-08 Thread Chris Hanson
On Jul 8, 2008, at 11:19 AM, Nick Zitzmann wrote: On Jul 8, 2008, at 6:20 AM, Glover,David wrote: myStatus = AuthorizationCopyRights (myAuthorizationRef, &myRights, kAuthorizationEmptyEnvironment, myFlags, NULL);

Re: Removing folder from /Applications

2008-07-08 Thread Nick Zitzmann
On Jul 8, 2008, at 6:20 AM, Glover,David wrote: myStatus = AuthorizationCopyRights (myAuthorizationRef, &myRights, kAuthorizationEmptyEnvironment, myFlags, NULL); if ([NSFm removeFileAtPath: (NSStr

RE: Removing folder from /Applications

2008-07-08 Thread Glover,David
y Sent: 08 July 2008 12:35 To: Cocoa Development Subject: Re: Removing folder from /Applications On 8.7.2008, at 12:52, Glover,David wrote: > Hi there, > > > > I've create a little app that is required to remove an obsolete folder > from /Applications. This works fine when the

Re: Removing folder from /Applications

2008-07-08 Thread Robert Cerny
On 8.7.2008, at 12:52, Glover,David wrote: Hi there, I've create a little app that is required to remove an obsolete folder from /Applications. This works fine when the user is logged in as an Admin, but not when logged in as a Standard user, as they obviously require authorization. So,