site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=qJETBGCt6YIhawJWirbTk/5OhlxA59esSveainXQypY=; b=rltu6Tlqd1LnDIRfOp3ETpdK5bbusLyfTAYySr1kyPXNzGCm9OQkQtZmVe1htnV7CY rTVaADXVbqlyj0Ypu7LCgJdulNBGF8GmgQWDB1xTYoFIzlH1SCuJ9peaks/kI3fMLopy cd0pPwLz7XSt78p8WZeI6Yk+68JyuBFEa/tuA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=f70xnaytyoWiR5VRiyreu9XZqWiZxE2XoPQglRGQhsKjPUtQ8YxsluEb6+3GEn+6iw SyL7vLjYudTs06u1Mif9agFf5K5GYSmrDoRX/ZQu4IOrhgXcq1hQkJ4O/UuthZOsWpj9 bgw15fvte2muED4Pk2QHeNbN9mAUXZRBC47XQ= On Dec 11, 2008, at 7:34 PM, Karl Kuehn wrote: I am trying to wrap a re-written installer plugin (the licensing module for Final Cut Pro) in my own installer for internal use. But it needs to touch a file in a restricted space on the hard drive. The problem I am having is that no matter what requirements I put on the package (admin/root permissions) the plugin always seems to be run as the installing user rather than with elevated privileges. I have a rough work-around in place in running the plugin after the install phase runs with a script to pave the way, but this leaves the permissions in a state I am not completely happy with. I am using Iceberg to make my packages (can't seem to figure out how to do plugins in PackageMaker... didn't try long), and I have tried digging around the original installer to see if that is packaged any differently, but I have not found anything. Anyone have an insight for me? Installer Plugins are plugins for Installer.app so they are run with the current user permissions. A possible woraround is to have your plugins save some data in a place where a postflight script (or executable) could read it and do the job. _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev