Re: Creating pkg to install on Snow Leopard AND Lion
Re: Creating pkg to install on Snow Leopard AND Lion
- Subject: Re: Creating pkg to install on Snow Leopard AND Lion
- From: Michele Corum <email@hidden>
- Date: Mon, 24 Oct 2011 15:29:57 -0700
- Thread-topic: Creating pkg to install on Snow Leopard AND Lion
For Snow Leopard, I set permissions for both the script and the source
folder that are being placed in /tmp as root:admin
For Lion, I set permissions for both the script and the source folder that
are being placed /tmp in as root:wheel
When the Snow Leopard version runs on Snow Leopard, it works. When the Snow
Leopard version runs on Lion, it fails.
When the Lion version runs on Lion, it works. When the Lion version runs on
Snow Leopard, it fails.
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
email@hidden
> From: Stephane Sudre <email@hidden>
> Date: Mon, 24 Oct 2011 15:26:09 -0700
> To: Michele Corum <email@hidden>
> Cc: <email@hidden>
> Subject: Re: Creating pkg to install on Snow Leopard AND Lion
>
> 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 <email@hidden> 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
>> email@hidden
>>
>>
>>
>>> From: Greg Neagle <email@hidden>
>>> Date: Mon, 24 Oct 2011 13:48:58 -0700
>>> To: Michele Corum <email@hidden>
>>> Cc: <email@hidden>
>>> 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
>>>> email@hidden
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Installer-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> im
>>>> ation.com
>>>>
>>>> This email sent to email@hidden
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden