Re: Installer script requiring super-user access
Re: Installer script requiring super-user access
- Subject: Re: Installer script requiring super-user access
- From: Stephane Sudre <email@hidden>
- Date: Wed, 19 Oct 2011 18:28:33 -0700
Wouldn't /Users/Shared/ work for you?
Also, please use /bin/rm instead of rm, /bin/mkdir instead of mkdir,
and /bin/cp instead of cp.
On Wed, Oct 19, 2011 at 10:44 AM, Ron Aldrich <email@hidden> wrote:
> Hello All,
> I've run into an issue with the following installer postinstall script:
> #!/bin/sh
> # postinstall.sh
> rm -f /Library/Application\ Support/Eternal/Eternal™\ Photo\ Drive.dmg
> mkdir -p /Library/Application\ Support/Eternal
> cp /Volumes/Eternal™\ Photo\ Drive/.Gozinta_support/Eternal™\ Photo\
> Drive.dmg /Library/Application\ Support/Eternal/
> The function of the script is to make a copy of the installer (and all of
> it's support files) and place it somewhere on the drive where it will be
> accessible to the application later. The file needs to be installed in a
> manner that allows it to be read by all users.
> The issue is that while the script used to work fine up until Lion, it now
> fails because /Library/Application Support/ is no longer user writable.
> Any suggestions?
> Thanks,
> Ron Aldrich
> Software Architects, Inc.
>
> _______________________________________________
> 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