• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: recommended way to install something into /Library/StartupItems?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recommended way to install something into /Library/StartupItems?


  • Subject: Re: recommended way to install something into /Library/StartupItems?
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 15 Feb 2007 21:31:19 +0100

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


  • Follow-Ups:
    • RE: recommended way to install something into /Library/StartupItems?
      • From: "Benjamin Lam" <email@hidden>
References: 
 >recommended way to install something into /Library/StartupItems? (From: "Benjamin Lam" <email@hidden>)

  • Prev by Date: RE: recommended way to install something into
  • Next by Date: RE: recommended way to install something into /Library/StartupItems?
  • Previous by thread: Re: recommended way to install something into /Library/StartupItems?
  • Next by thread: RE: recommended way to install something into /Library/StartupItems?
  • Index(es):
    • Date
    • Thread