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: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Thu, 4 Oct 2007 16:13:43 -0400
- Thread-topic: [OT] How to extract a BOM archive correctly?
That wouldn't really matter for my problem; maybe I should fully explain
the problem I'm running into.
I have a series of installed packages, each of which has their
Archive.bom stored in /Library/Receipts. Some of these archives have
the executable bit set for things like JPEG files, or other data files
that should never be executed. Executable bits set on such files upset
people I work for (potential security hole, etc.), so I need to change
those permission bits so that they are properly set.
Why don't I just do that to the regular (installed) files? Every time
you run Disk Utility, it checks the archive.bom in your receipts; if the
permissions don't match, it changes the permissions to match whatever is
in the archive. Thus, Disk Utility 'fixes' everything incorrectly.
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.
Thanks,
Cem Karan
-----Original Message-----
From: Fritz Anderson [mailto:email@hidden]
Sent: Thursday, October 04, 2007 3:51 PM
To: Karan, Cem (Civ, ARL/CISD)
Cc: Xcode Users
Subject: Re: [OT] How to extract a BOM archive correctly?
On 4 Oct 2007, at 2:27 PM, Karan, Cem (Civ, ARL/CISD) wrote:
> Hi all, I know that this is off-topic, but this is the best group I
> know of to answer this question. I've got an annoying permissions
> problem with a BOM archive that I need to extract to fix.
>
> ditto -x --bom Archive.bom ~/someDirectory
I believe a bill-of-materials file is just a (greatly augmented) list of
file paths, and is not itself an archive. You don't have a source
file/directory/archive.
- F
_______________________________________________
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