• 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
Gaining temporary access to copy files to the library folder...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gaining temporary access to copy files to the library folder...


  • Subject: Gaining temporary access to copy files to the library folder...
  • From: deekpyro <email@hidden>
  • Date: Mon, 15 Apr 2002 21:48:30 -0500

I'm using this method in my program to copy a file into the library folder
under the HD:

[[NSFileManager defaultManager] copyPath:@"/Applications/Moo X
Folder/Files/com.apple.windowserver.plist"
toPath:@"/Library/Preferences/com.apple.windowserver.plist" handler:nil];

but it never seems to work because I don't have proper privilages to copy
it.

Is their a command to give myself temporary access? Could I just create a
button and have it require authentication?

Thanks, Derek
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Gaining temporary access to copy files to the library folder...
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Redrawing & erasing a path
  • Next by Date: Re: NSFileManager and aliases
  • Previous by thread: Gaining temporary access to copy files to the library folder...
  • Next by thread: Re: Gaining temporary access to copy files to the library folder...
  • Index(es):
    • Date
    • Thread