• 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 & Root Permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager & Root Permissions


  • Subject: Re: NSFileManager & Root Permissions
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 14 Dec 2006 17:04:17 -0700


On Dec 14, 2006, at 4:26 PM, Keith Duncan wrote:

Now, this already works when I want copy a bundle to /Library/ PreferencePanes but it doesn't want to work when copying plists to / Library/LaunchAgents or /Library/LaunchDaemons. Is there some reason for this or is it just that my app needs the user to Authorize as an admin/root user?

For security reasons only the super-user can write into /Library/ LaunchDaemons and /Library/StartupItems. In Panther and earlier admins can write into the StartupItems directory, but then some software started installing rootkits into them...


If so, how would I implement this?

<http://developer.apple.com/documentation/Security/Conceptual/ authorization_concepts/index.html>


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSFileManager & Root Permissions
      • From: Keith Duncan <email@hidden>
References: 
 >NSFileManager & Root Permissions (From: Keith Duncan <email@hidden>)

  • Prev by Date: NSFileManager & Root Permissions
  • Next by Date: Providing AppleScript support for users in a Core Data app
  • Previous by thread: NSFileManager & Root Permissions
  • Next by thread: Re: NSFileManager & Root Permissions
  • Index(es):
    • Date
    • Thread