Re: Authenticate NSFileManager Operations
Re: Authenticate NSFileManager Operations
- Subject: Re: Authenticate NSFileManager Operations
- From: email@hidden
- Date: Wed, 5 May 2010 09:57:01 -0600
I was using PackageMaker and it installed the framework. In a second
step to install an adobe air application the installer failed and that
is why I went to roll my own.
-koko
On May 5, 2010, at 9:51 AM, Mike Abdullah wrote:
Are you writing an installer? If so, don't. Use the system-supplied
one.
On 5 May 2010, at 16:32, email@hidden 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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden