site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com Hi all, My question is as follow: * How can I get the Installer Plugins to run as root? Thanks! -Andy Targeting 10.4.x Universal _______________________________________________ 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... I've mostly finished creating an installer, but I'm running into the following problem, because I believe the Installer Plugin panels appear to run as non-root (non-admin in particular). My scenario is as follows: At the end of the install, I have a panel to enter some user data, and another panel to download a file into the application's bundle. I have this implemented as two Installer Plugins (EmailPlugin and DownloadPlugin). Using the excellent Iceberg tool, I placed the EmailPlugin and DownloadPlugin right after the Install panel (right before the Finish Up panel). I have "Root Authorization" required for the package. EmailPlugin creates a file in /Library/Application Data/<app>. DownloadPlugin creates a file in /Application/<app>.app If I run the installer as an admin user, everything works okay. If I run the installer as a non-admin user, both plugins fail because they cannot write their files (this occurs even though "Root Authoriization" is required). My understanding of what's happening is that the intaller scripts that run during the install phase (preflight, postflight, etc.) are running as root, but the Installer Plugins are not (which seems somewhat of a bug to me). In the worst case I'd have to discard using Installer Plugins and instead launch custom apps from the postflight script. I'd love to avoid that with the help of someone else's insight. This email sent to site_archiver@lists.apple.com