Re: NSFileManager copy system plist file
Re: NSFileManager copy system plist file
- Subject: Re: NSFileManager copy system plist file
- From: Raphael <email@hidden>
- Date: Fri, 13 Jan 2006 16:57:39 +0100
Hi Uli,
the Finder window say, that the "SystemConfiguration" Object is not
changeable.
The you have two buttons ok and identify (sorry for the misstake).
If you press identify you could overwrite the existing file with the
administration permissions from the
normal account, without root permission.
I donĀ“t think that this problem has something to do with the user
permission.
Because the Finder will not ask for a root password.
Thanks and regards
Raphael
Am 13.01.2006 um 15:57 schrieb Uli Kusterer:
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