• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating pkg to install on Snow Leopard AND Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating pkg to install on Snow Leopard AND Lion


  • Subject: Re: Creating pkg to install on Snow Leopard AND Lion
  • From: Stephane Sudre <email@hidden>
  • Date: Mon, 24 Oct 2011 15:26:09 -0700

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:
>>> 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

  • Follow-Ups:
    • Re: Creating pkg to install on Snow Leopard AND Lion
      • From: Michele Corum <email@hidden>
References: 
 >Re: Creating pkg to install on Snow Leopard AND Lion (From: Greg Neagle <email@hidden>)
 >Re: Creating pkg to install on Snow Leopard AND Lion (From: Michele Corum <email@hidden>)

  • Prev by Date: Re: Creating pkg to install on Snow Leopard AND Lion
  • Next by Date: Re: Creating pkg to install on Snow Leopard AND Lion
  • Previous by thread: Re: Creating pkg to install on Snow Leopard AND Lion
  • Next by thread: Re: Creating pkg to install on Snow Leopard AND Lion
  • Index(es):
    • Date
    • Thread