Installer script requiring super-user access
Installer script requiring super-user access
- Subject: Installer script requiring super-user access
- From: Ron Aldrich <email@hidden>
- Date: Wed, 19 Oct 2011 10:44:43 -0700
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