• 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: Creating package that installs a LaunchDaemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating package that installs a LaunchDaemon


  • Subject: Re: Creating package that installs a LaunchDaemon
  • From: Rick Cochran <email@hidden>
  • Date: Fri, 30 Jan 2009 08:47:26 -0500

When using PackageMaker from the command line, the "--no-recommend" option stops this behavior.

Eli Bach wrote:
Am I crazy or does PackageMaker 3.0.3 go out of it's way to apply incorrect permissions on files that go into /Library/LaunchDaemons/?

For launchctl to work, permissions need to be 644, but PackageMaker installs them as 664.

I've spent the time to create a source folder with the permissions I want for my files, and with Apple's permissions on their folders.

When I get PackageMaker to build the package, it spends literally 5 minutes (as my package has a lot of files) "fixing" permissions to either be the same and/or to be incorrect.

Is there some way to get PackageMaker to skip this "fixing" step?

As a workaround, I've added a postinstall script that changes the permissions back, then calls launchctl to load the daemon.


_______________________________________________ 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
_______________________________________________
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: Creating package that installs a LaunchDaemon
      • From: Nigel Kersten <email@hidden>
References: 
 >Creating package that installs a LaunchDaemon (From: Eli Bach <email@hidden>)

  • Prev by Date: Creating package that installs a LaunchDaemon
  • Next by Date: Re: Creating package that installs a LaunchDaemon
  • Previous by thread: Creating package that installs a LaunchDaemon
  • Next by thread: Re: Creating package that installs a LaunchDaemon
  • Index(es):
    • Date
    • Thread