Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Alternative to bootstrap_register?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative to bootstrap_register?



On Nov 27, 2009, at 11:28 AM, Uli Kusterer wrote:
> On 20.11.2009, at 19:31, Damien Sorresso wrote:
>> bootstrap_check_in() doesn't require root privileges. It only requires that you be advertising the named service in your launchd.plist.
>
> Correct me if I'm wrong, but the plist is static, and needs to be installed with root permissions by an installer. How would we generate a plist with a dynamic service name without root permissions? Trying to coerce bootstrap_check_in() and generating a file on disk for this purpose seems like a terrible hack to me.


Put it in ~/Library/LaunchAgents. launchd has per-user variants. Or is there some reason this job needs to run in a privileged context?
--
Damien Sorresso
BSD Engineering
Apple Inc.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Alastair Houghton <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Damien Sorresso <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.