Are you writing an installer? If so, don't. Use the system-supplied one.

On 5 May 2010, at 16:32, k...@highrolls.net wrote:

> I am using
> 
> - (BOOL)copyItemAtPath:(NSString *)srcPath toPath:(NSString 
> *)dstPatherror:(NSError **)error
> 
> to copy a framework to /Library/Frameworks.
> 
> But first I use
> 
> - (BOOL)removeItemAtPath:(NSString *)path error:(NSError **)error
> 
> 
> On my system all is well.  On a user system I get
> 
>       You do not have appropriate access privileges.
> 
> On the remove step.
> 
> How does one invoke authentication for NSFileManager operations?
> 
> -koko
> _______________________________________________
> 
> 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/cocoadev%40mikeabdullah.net
> 
> This email sent to cocoa...@mikeabdullah.net

_______________________________________________

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