RE: [OT] How to extract a BOM archive correctly?
RE: [OT] How to extract a BOM archive correctly?
- Subject: RE: [OT] How to extract a BOM archive correctly?
- From: Greg Guerin <email@hidden>
- Date: Thu, 4 Oct 2007 13:31:22 -0700
Karan, Cem wrote:
>If I can unarchive the package somewhere, fix the permissions, and then
>turn it all into a near identical archive and replace it, then my
>problem will be solved. That is why I'm trying to figure out how to get
>ditto to work correctly.
Then you have to give a src_archive arg to ditto -x that is the actual
archive-file, not just the BOM.
I'm guessing this is from an Installer pkg, so look in that package for the
archive itself. It will be bigger than the BOM alone, and probably have a
pax suffix or inter-suffix (e.g. pax.gz). Since I'm just guessing about
what the original data is from, I'm hesitant to guess more. It would help
if you told us where the BOM in the Receipts folder is originally coming
from, e.g. an Installer pkg or something else, and how that distro is
originally being built.
The only other thing I can think of is to write a program that modifies the
BOM in /Library/Receipts, to remove the x bits from files that don't need
it. That seems more like a hack, though, since the real problem lies with
the permissions declared in the original distro's installation pkg, bundle,
dmg, or whatever. Hacking the BOM receipt would just be fixing the
symptom, not the cause.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden