[launchd-dev] Recommended tool daemon/agent install folder ... Is this list still active?

Karl Moskowski kolpanic at voodooergonomics.com
Thu Sep 17 07:10:55 PDT 2009


On 2009-09-16, at 3:25 PM, Brent Gulanowski wrote:

> Now I'm curious if anyone here remembers the standard path for tools  
> on Mac
> OS X which are launched by launchd -- there's a folder in Library  
> which
> isn't created by default but is considered proper, but I can't  
> recall nor
> find any mention of it.

Brent,

Apple's BetterAuthorizationSample uses /Library/ 
PrivilegedHelperTools/, and that location seems to have become a de  
facto standard.
<http://developer.apple.com/samplecode/BetterAuthorizationSample/>

Caveats:
   - ensure any installers keep the correct permissions and ownership  
on that folder;
   - ensure your tool is uniquely named, probably using reverse DNS  
notation (e.g., com.mycompany.foobard).
(There are probably more.)

----
Karl Moskowski <kolpanic at voodooergonomics.com>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>



More information about the launchd-dev mailing list