Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

printf

macrumors regular
Original poster
Aug 27, 2008
105
0
I've recently updated my os from 10.4 to 10.6 and have been faced with some rather unexpected changes in the new version of PackageMaker 3.0.3. To put it another way, I'm having to make choices I didn't have to make previously and not really being a full-on Mac user, I'm not confident in all my choices, soo...

1) Within the package contents section my main app is listed with me (my name) as the owner, admin as the group and mode as drwxr-xr-x.

These are default settings. Is this correct for my users? Apple's PackageMaker User Guide pdf states "In most cases, the owner should be root and the group admin." I tried to change my name under owner to root (since i don't exist on my users machines), but the build gave me warnings saying "User ID 0 does not match 501 of root volume /Applications/MyApp.app. Make sure to have disk permissions repaired with Disk Utility". Yet, when I click "Apply Recommendations", it chooses my name as the Owner again! what the hell?

2) To see the differences between the new pmdocs and old pmproj files, I've opened my old .pmproj files as well as created new .pmdocs. For some reason when creating new ones PackageMaker defaults the Package Identifier to com.CompanyName.AppName.companynameAppName.pkg instead of the shorter, more intuitive com.companyname.appname like was used in my pmproj files. my question is, isn't this used for updates and don't i need to be consistent with this identifier for that reason? i don't understand why it chose that as the default name and why .pkg is at the end, so if someone could enlighten me, i would appreciate it!
 
i'm still struggling with this. is anyone familiar with PackageMaker that can help me here?
 
ooook, i'm going to try to help you help me. here's verbatim what apple's package maker user guide states:

"Ownership and access permissions: The files that the Installer application places on the target computer have the same ownership and access permissions of the payload’s files. Therefore, you must set up the owner and access permissions of component files appropriately before building the installation package; otherwise, users may have difficulty manipulating those files after they are installed or Installer may be unable to copy payloads to their destinations.

In most cases, the owner should be root and the group admin. Also, PackageMaker can set the owner, group, and access permissions of the component files to those that work best in Mac OS X, according to the component type."

how do i "set up the owner of the component files"? i set the owner to root for EVERY item in the contents list. how do i do this in finder now so they match up? using get info, it only shows me "Me", "admin" and "everyone". where is root???
 
anyone know another forum or venue where i might get some help with this?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.