Re: Package skips a component...
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Aug 6, 2008, at 10:23 PM, Fritz Anderson wrote: On Aug 6, 2008, at 1:18 PM, Fritz Anderson wrote: ... if [[ -d "./root/private" ]] ; then \ chmod -R a+rwX ./root/private; \ chown -R root:admin ./root/private; \ fi This had no effect. The _FFExtensions directory is not installed. Upgrades are not working for /tmp. I tried this: 1st test ======== 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 ======== 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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: ================= ./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 ================= 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): A package installing 2 .plist file (Info.plist and _Info.plist) in / private/tmp: A package installing 2 .plist file (Info.plist and _Info.plist) in / Applications: This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre