Re: NSFileManager & Root Permissions
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