Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repair Permissions info needed




On 30 Nov 2005, at 19:55, John Stiles wrote:

On Nov 30, 2005, at 11:53 AM, Frederick Cheung wrote:

On 30 Nov 2005, at 19:02, John Stiles wrote:

To summarize, wouldn't it be great if we could add our app to the "Repair Permissions" check list? It seems like this could solve a lot of problems for us. Unfortunately, I haven't got a clue as to how this could be accomplished. I know it involves the files at / Library/Receipts/, but these don't seem to be in a human-readable format. I'm told that the Apple installer knows how to create receipts, but we already have our own in-house installer technology which gives us much more flexibility than Apple's installer will allow us; switching to Apple's installer wholesale is not an option.


Is anyone knowledgeable about Repair Permissions here? Is there another list which I should ask on?

Thanks for your help :)

As I understand things, the packages that are in /Library/Receipts are just normal packages, but with the archive that normally contains the actual files to install (Archive.pax.gz) removed. What you have left is a .bom file (bom = bill of materials?) which is basically a list of everything the packaged installed, what the permissions are etc. You can inspect a .bom with the lsbom utility, create them with mkbom. I reckon would allow you to create your own receipt.

Is mkbom going to be installed on a non-dev-tools machine?


In tiger it's in the Essentials package which is always installed. I think it was in the BSD package before

Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Repair Permissions info needed (From: John Stiles <email@hidden>)
 >Re: Repair Permissions info needed (From: Frederick Cheung <email@hidden>)
 >Re: Repair Permissions info needed (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.