Re: Am I using PackageMaker incorrectly?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com John, With the latest security update, there isn't any. Frederik _______________________________________________ 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... Do I have to set permissions before creating the package? Currently, I just package up all my files and set ownership and permissions with the postinstall/postupgrade script. This package runs with AdminAuthorization and creates root/wheel files in /Library and works perfectly. It seems to me that Root is the only uid that is the same on all systems. If you want to ensure that ownership and permissions are set appropriately, these scripts seem to be the only place to do it. You can set the permissions right in PackageMaker. In PackageMaker 2.1 click the "File Permissions" button in the contents pane of your package project. Using "Apply Recommendations" should give you a good starting point. What is the difference between Administrator and Root? I have one installer that runs as Administrator and is able to install software into /Library with no problem. I created a test installer and ran it under AdminAuthorization, RootAuthorization, and noAuthorization. I can find no difference between AdminAuthorization and RootAuthorization. This email sent to site_archiver@lists.apple.com
participants (1)
-
Frederik Seiffert