• 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: Accessing protected files (about everything in the System folder)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing protected files (about everything in the System folder)


  • Subject: Re: Accessing protected files (about everything in the System folder)
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 20 Sep 2002 19:44:07 +0200

On Friday, September 20, 2002, at 07:28 , Jan Van Boghout wrote:

How do I work with system files (and other files that require admin privs for write access) in Cocoa?

Normally. Your app needs to have sufficient rigts though -- either you can use the authentification framework (non-ObjC, there are some ObjC wrappers I believe), or make your app suid root. Depends on the app which approach is better, but most cases the former would be the right solution.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >Accessing protected files (about everything in the System folder) (From: Jan Van Boghout <email@hidden>)

  • Prev by Date: Re: Shielding Windows/Observations About Force Quit
  • Next by Date: Re: Shielding Windows/Observations About Force Quit
  • Previous by thread: Accessing protected files (about everything in the System folder)
  • Next by thread: per pixel reading from a tiff
  • Index(es):
    • Date
    • Thread