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

  • Prev by Date: Re: Ligatures - or more so not ligatures
  • Next by Date: Re: NSFileManager copy system plist file
  • Previous by thread: NSFileManager copy system plist file
  • Next by thread: Re: NSFileManager copy system plist file
  • Index(es):
    • Date
    • Thread