• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileManager copy system plist file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSFileManager copy system plist file (From: Raphael <email@hidden>)
 >Re: NSFileManager copy system plist file (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Bindings - accessing the model from a seperate window
  • Next by Date: Re: Cocoa Custom NSCell Binding Issue
  • Previous by thread: Re: NSFileManager copy system plist file
  • Next by thread: Re: NSFileManager copy system plist file
  • Index(es):
    • Date
    • Thread