RE: recommended way to install something into /Library/StartupItems?
RE: recommended way to install something into /Library/StartupItems?
- Subject: RE: recommended way to install something into /Library/StartupItems?
- From: "Benjamin Lam" <email@hidden>
- Date: Thu, 15 Feb 2007 13:45:36 -0700
- Thread-topic: recommended way to install something into /Library/StartupItems?
Thanks to Stephane, Aaron & Joshua for the responses.
I'm just going to create the structure when building my package.
Fortunately, I need not be worrying about 10.2 for this project.
Thank you kindly and have a great day,
Ben Lam
Software Developer, Build/Install
SMART Technologies Inc.
email/MSN: email@hidden | tel: 403.802.3328
Men are respectable only as they respect.
-Ralph Waldo Emerson
> -----Original Message-----
> From: Stéphane Sudre [mailto:email@hidden]
> Sent: Thursday, February 15, 2007 1:31 PM
> To: Benjamin Lam
> Cc: email@hidden
> Subject: Re: recommended way to install something into
> /Library/StartupItems?
>
> As others pointed, it's easy to do it and it works.
>
> The only issue I know with Packages and /Library/StartupItems was on
> 10.2.x (as IIRC 10.2 is when the owner and group moved from root admin
> to root wheel without any clear official warning).
>
> The issue was that it was not possible to set the owner and group to
> root:wheel using the package. There is probably a bug in Installer.app
> regarding this. The solution was to set the permissions in the
> postflight script.
>
> So if you need to install on Mac OS X 10.1 or 10.2, test that. If you
> don't, forget about this issue.
>
> My $0.02
>
> On jeudi, février 15, 2007, at 06:31 PM, Benjamin Lam wrote:
>
> > Hi,
> >
> >
> >
> > What is the recommended way to install something into
> > /Library/StartupItems? I need to put some items in there, can I just
> > create the Library/StartupItems structure with the items when I create
> > the package or should I copy the items in during postflight?
> >
> >
> >
> > If I just create the package with the Library/StartupItems structure
> > and if other software puts items in there, then my package runs, it
> > won't 'reset' the Library/StartupItems folder will it, deleting the
> > other items (to match the given structure in my package) will it?
> >
> >
> >
> > TIA.
> >
> >
> >
> > Thank you kindly and have a great day,
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden