Re: NSFileManager copy system plist file
Re: NSFileManager copy system plist file
- Subject: Re: NSFileManager copy system plist file
- From: Uli Kusterer <email@hidden>
- Date: Fri, 13 Jan 2006 15:57:40 +0100
Am 13.01.2006 um 07:36 schrieb Raphael:
in the finder to check out what is the problem, the finder say that
I need to
indetify that Folder. How can I do this in cocoa?
After I'd sent out the previous question, I got an idea for a guess
what you might have tried to say:
Do you perhaps mean it asks you to "authenticate" to *access* that
folder? That means you need to be running with administrator
permissions to change that particular folder. To do that, check out
Apple's authentification/authorisation services. There's a bunch of
docs on that and all the security considerations involved that you
will want to read, all at http://developer.apple.com.
You'll basically have to create a helper app that does that one
task (copying back that system file) and launch it with admin
privileges using authorisation stuff, which will ask the user for the
password and then do the deed.
Is that perhaps what you wanted?
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden