site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com -Greg On Oct 2, 2009, at 6:09 AM, Jakub Bednar wrote: Hi list, I have a problem regarding Package Maker 3.0.3 and files ownership. Thanks a lot, Jakub _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... user/group info for filesystem items is _always_ stored as numeric values. When you create your user, specify the UID at that time as well. I have a package that I'm installing with ownership of a newly created user MYUSER. I have a preinstall script, that creates this hidden user using dscl with password *. Now I create my package in Package Maker on SYSTEM1 where MYUSER has id 100. I install the package on SYSTEM2 and run "pkgutil --repair" to repair the rights. But the ownership of the files is different after this step. The problem is, that Package Maker has stored exact id 100 from SYSTEM1 in the .pkg instead of symbolic name MYUSER. But this id differs from id that was given to MYUSER on SYSTEM2 (there it was 101). Is there a way how to tell Package Maker to use symbolic names instead of id numbers? (Maybe in some newer version of Package Maker) P.S. I have found a workaround using pkgutil --export-plist, sed, pkgutil --forget, pkgutil --import-plist but I don't like it really. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/greg.neagle%40disneyani... This email sent to greg.neagle@disneyanimation.com This email sent to site_archiver@lists.apple.com