Creating package that installs a LaunchDaemon
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