ADC Home > Reference Library > Technical Q&As > Tools > Files & Software Installation >
|
Q: Is there a way to get a canonical reference of the owner and group names on my system, other than by doing a clean install? I want to be sure that the files that I am handing to PackageMaker to make my install package have the correct settings, as recommended in the Software Distribution document. A: Yes. You can examine the proper owner/group settings of a particular destination directory in several ways: 1) check the directory in question after a clean install, 2) check the directory after using "Repair Disk Permissions" in Disk Utility, 3) check the settings as described in the receipt for a particular part of a system install. For example, you can check the Library/Receipts/BaseSystem.pkg's BOM (Bill of Materials) with the usr/bin/lsbom command:
Details concerning You can search all the Receipts to determine which packages have installed into a particular directory by using the usr/bin/grep command. For example, if you wanted to know which receipts had a record of an installation into the /usr/share directory, you could type:
[Aug 25, 2003] |
|