Re: Package skips a component...
Re: Package skips a component...
- Subject: Re: Package skips a component...
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 6 Aug 2008 23:02:51 +0200
On Aug 6, 2008, at 10:23 PM, Fritz Anderson wrote:
On Aug 6, 2008, at 1:18 PM, Fritz Anderson wrote:
...
Here are the last few lines from a lsbom of Contents/Archive.bom:
=====================
./Applications/Firefox.app/Contents/Resources/en.lproj/
InfoPlist.strings 100664 0/80 184 3407637100
./Applications/Firefox.app/Contents/Resources/firefox-bin.rsrc
100664 0/80 792 3037674570
./Applications/Firefox.app/Contents/Resources/firefox.icns 100664
0/80 62776 3334399528
./private 40755 501/501
./private/tmp 40777 501/80
./private/tmp/_FFExtensions 40777 501/80
./private/tmp/_FFExtensions/libx-uchicago.xpi 100666 501/80 178397
657451322
./private/tmp/_FFExtensions/nsitbookmarks.xpi 100666 501/80 7357
1514279906
=====================
...
One thing that occurs to me is that I could possibly do better
with the ownership of /tmp and its contents, which the BOM has as
fritza/wheel (where fritza is the name of my account, user 501,
and wheel is group 80). One of the machines on which I'm seeing
the failure is the one on which fritza and wheel really do exist.
Advice?
I did make the experiment of ensuring that all of my /private tree
was owned by root/admin:
if [[ -d "./root/private" ]] ; then \
chmod -R a+rwX ./root/private; \
chown -R root:admin ./root/private; \
fi
=================
./private 40777 0/80
./private/tmp 40777 0/80
./private/tmp/_FFExtensions 40777 0/80
./private/tmp/_FFExtensions/libx-uchicago.xpi 100666 0/80 178397
657451322
./private/tmp/_FFExtensions/nsitbookmarks.xpi 100666 0/80 7357
1514279906
=================
This had no effect. The _FFExtensions directory is not installed.
I'd be grateful for some direction. I'm not sure where I should be
looking.
Well, it looks like to be a bug in Installer.app (on Mac OS X 10.4.11
at least):
Upgrades are not working for /tmp.
I tried this:
1st test
========
A package installing 2 .plist file (Info.plist and _Info.plist) in /
private/tmp:
o 1st Installation:
it works correctly.
I removed the Info.plist
o 2nd Installation (seen as an upgrade by Installer.app):
it does not work correctly. The Info.plist file is not put back.
2nd test
========
A package installing 2 .plist file (Info.plist and _Info.plist) in /
Applications:
o 1st Installation:
it works correctly.
I removed the Info.plist
o 2nd Installation (seen as an upgrade by Installer.app):
it works correctly. Info.plist is re-installed.
Conclusion:
===========
There's a bug in Installer.app.
You should file a bug report.
Possible Workarounds:
=====================
o Use /Users/Shared instead of /tmp
o Delete your receipts after installation.
_______________________________________________
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