• 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: PackageMaker and scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PackageMaker and scripts


  • Subject: Re: PackageMaker and scripts
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 07 Aug 2012 07:28:33 +0000
  • Acceptlanguage: en-US
  • Thread-topic: PackageMaker and scripts

On Aug 7, 2012, at 6:20 AM, Douglas Norton wrote:

> Don,
>
> IIRC the post install scripts are shell scripts. email@hidden would be a better place to ask this question.
>
> Would it be more friendly to your users to duplicate the file as an operation upon first launch of your app?
>
> Two reasons why this might be preferable are
>
> 1: You may not have permissions to rename the current file,
> 2: If your user reverts to your previous version the old support file will now be missing if it has been renamed.
>
> (1) is unlikely since I think post install scripts run as a root user

post-installation scripts are run as root when admin authentication is requested.

Otherwise they are run as the user who opened the installation package.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >PackageMaker and scripts (From: Donald Hall <email@hidden>)
 >Re: PackageMaker and scripts (From: Douglas Norton <email@hidden>)

  • Prev by Date: Re: PackageMaker and scripts
  • Next by Date: Re: PackageMaker and scripts
  • Previous by thread: Re: PackageMaker and scripts
  • Next by thread: Re: PackageMaker and scripts
  • Index(es):
    • Date
    • Thread