Re: Installed owner/group
Re: Installed owner/group
- Subject: Re: Installed owner/group
- From: "Paul Sanders" <email@hidden>
- Date: Fri, 12 Nov 2010 20:04:59 -0000
On Nov 12, 2010, at 5:01 PM, James Turner wrote:
> Apologies if
this is a FAQ - none of the references I've found on > the web have
answered it. > > I have a package with three components; a regular
.app bundle in / > Applications, many support files to go in
/Library/Application > Support/MyApp and a launchd plist to go in
/Library/LaunchDaemons. > > (The actual daemon executable and
accompanying frameworks live in > the AppSupport dir - the
frameworks are also used by the user- > facing .app) > > In
my .pmdoc, I've set all the owner and group permissions >
'correctly', i.e root/admin for everything, in particular set the >
owner, group and permissions such that launchd will accept the >
plist. Unfortunately when installing, most of the files (90%?) end
> up with my user and group, not those specified in the pmdoc. This
> means launchd won't load the plist, since it's deliberately picky
> about permissions and ownership. > > Have I misunderstood a
fundamental concept in how this is supposed > to
work? > > All this is happening on 10.6, PackageMaker is invoked by
the build > scripts as: > >
`/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/ >
PackageMaker --doc MyApp.pmdoc --out myapp-installer.pkg` > > As far
as I know there is nothing unusual or special about the > pmdoc -
it's completely ordinary in every way.
I had a few issues with file
permissions a while back (I forget the details now); I just fixed them up in a
postinstall script.
Paul Sanders.
|
_______________________________________________
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