Re: Installer script requiring super-user access
Re: Installer script requiring super-user access
- Subject: Re: Installer script requiring super-user access
- From: Jeremy Reichman <email@hidden>
- Date: Wed, 23 Nov 2011 11:35:07 -0500
- Thread-topic: Installer script requiring super-user access
Does the application really need the original installer, especially from the user's context? For what purposes?
What if the original installer placed there is no longer available (because a system administrator doesn't see a purpose for it) or, as is happening, the folder is not accessible to all users?
From: Ron Aldrich < email@hidden> Date: Wed, 19 Oct 2011 10:44:43 -0700 To: < email@hidden> Subject: Installer script requiring super-user access
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