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