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

Creating package that installs a LaunchDaemon


  • Subject: Creating package that installs a LaunchDaemon
  • From: Eli Bach <email@hidden>
  • Date: Thu, 29 Jan 2009 18:47:17 -0800

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
  • Follow-Ups:
    • Re: Creating package that installs a LaunchDaemon
      • From: Rick Cochran <email@hidden>
  • Prev by Date: Re: Including links on PackageMaker screens
  • Next by Date: Re: Creating package that installs a LaunchDaemon
  • Previous by thread: Re: Including links on PackageMaker screens
  • Next by thread: Re: Creating package that installs a LaunchDaemon
  • Index(es):
    • Date
    • Thread