Re: Creating pkg to install on Snow Leopard AND Lion
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=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=doG1n968mkzeNi1UO0/dnrgQLuIcd2Xk9WqFvXB66Gw=; b=K7zHW8zZ1d/58v4RM82FqpnjhiokvKCo+HfdWvClRYaOrFT9ix3Nj2MGb2a1IMDlHO KPq/Ao5dhSsVlHKbwqnFhbMnHU0YM/KJHnZfSYosE4k4T3cj3m+XuUXEircLBZOYokcH x8l1V4lWxaAZpICgJnPlrTBaNqmkUWqvazDog= On which item(s) do you set the root:admin or root:wheel permissions? On Mon, Oct 24, 2011 at 2:06 PM, Michele Corum <mcorum@cisco.com> wrote:
I have an installer that requires a hidden script and a source folder to be copied to a local folder (in this case /tmp) then given the command (via Terminal or via script) "sudo ./scriptname" for the application to install correctly.
In Snow Leopard, the UID & GID for /tmp are root:admin
In Lion, the UID & GID for /tmp are root:wheel
When I set the permissions to root:admin, run the package on Snow Leopard, the installer runs and installs the application as expected. But it will not run and install on Lion.
When I set the permissions to root:wheel, run the package on Lion, the installer runs and installs the application as expected. But it will not run and install on Snow Leopard.
The application is being installed for ALL USERS, and not specifically the logged in user.
Is it possible to have 1 package to install on both Snow Leopard and Lion? If so, how would I accomplish this?
A second issue I am having is the application being installed requires a restart in Snow Leopard for it to become active. In Lion, no restart is needed.
Is it possible to create 1 package that will restart after install if Snow Leopard but will not restart after install on Lion?
At this point, I'm thinking I'll need to create two packages: 1 for Snow Leopard, 1 for Lion...not ideal by any means, but workable.
Michele Corum Macintosh Engineer/Developer aap3 at Cisco Systems, Inc. 400 East Tasman Drive, SJ12-4, F3 San Jose, California 95134 Desk 408.853.3430 Cell 925.586.6173 mcorum@cisco.com
From: Greg Neagle <greg.neagle@disneyanimation.com> Date: Mon, 24 Oct 2011 13:48:58 -0700 To: Michele Corum <mcorum@cisco.com> Cc: <installer-dev@lists.apple.com> Subject: Re: Creating pkg to install on Snow Leopard AND Lion
Question: what are you trying to use the /tmp folder for?
-Greg
On Oct 24, 2011, at 12:13 PM, Michele Corum wrote:
Hey all,
I am trying packaging an application to install on Snow Leopard AND Lion but am running into permissions issues when using the /tmp folder for installs.
With the change of permissions from Snow Leopard (root/admin) to Lion (root/wheel), what is the best way to handle this?
Michele Corum Macintosh Engineer/Developer aap3 at Cisco Systems, Inc. 400 East Tasman Drive, SJ12-4, F3 San Jose, California 95134 Desk 408.853.3430 Cell 925.586.6173 mcorum@cisco.com
_______________________________________________ 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... ation.com
This email sent to greg.neagle@disneyanimation.com
_______________________________________________ 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/dev.iceberg%40gmail.com
This email sent to dev.iceberg@gmail.com
_______________________________________________ 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)
-
Stephane Sudre