On Aug 3, 2010, at 7:39 PM, Lance Kwan wrote:

> Im currently creating a prototype that will delete plist files in LaunchAgent 
> folder.
> 
> Ive used NSFileManager removeItemAtPath:error: method but unable to delete 
> since
> i do not have permission. 
> 
> How will i delete the  read only file programatically?

Search ADC for the "BetterAuthorizationSample" sample project. You're going to 
have to use Authorization Services to perform the tasks your app can't due to 
permissions.

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to