On 2009 Apr 28, at 00:35, Mahaboob wrote:

The folder permission of LaunchDaemons is read only.
So I can't write the plist file into this folder programmatically.
How can I do it?

First, read or re-read Apple's TN2083 and verify that your ^really^ need to create a system daemon instead of a per-user agent.

http://developer.apple.com/technotes/tn2005/tn2083.html

If you ^really^ need to make a system daemon, then you must use Authorization Services to add that file programatically. Reserve a week or two in your schedule and begin by searching the web for Apple's BetterAuthorizationSample.

Discussion of BetterAuthorizationSample should be sent to the group [email protected] .

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to