Re: Creating package that installs a LaunchDaemon
Re: Creating package that installs a LaunchDaemon
- Subject: Re: Creating package that installs a LaunchDaemon
- From: Nigel Kersten <email@hidden>
- Date: Fri, 30 Jan 2009 09:25:25 -0800
Check your version of PackageMaker.
This was an issue with the version of the dev tools that came out
before the iPhone version of the dev tools, and I believe it was fixed
both in that version and subsequent non-iPhone dev tool releases.
That being said, we've found the recommendations to be often not what
we want and our package creation scripts always use --no-recommend.
On Fri, Jan 30, 2009 at 5:47 AM, Rick Cochran <email@hidden> wrote:
> 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
>
_______________________________________________
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