Re: Determine user dir from postinstall while root
Re: Determine user dir from postinstall while root
- Subject: Re: Determine user dir from postinstall while root
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 26 Jul 2007 14:08:12 +0200
/Users/$User
if I am to believe the archive.
On jeudi, juillet 26, 2007, at 11:36 AM, Knud Hinnerk Möller wrote:
Hi,
I have only recently started working with package maker, so please
bear with me if this question is sounds stupid. I'm trying to
manipulate a plist file which i expect to be in an
~/Library/Application Support/... folder. Determining the current user
seems easy if don't require any authentification. However, if I do
require admin authentification, the postinstall script is run as root.
In that case, how can I find out, from the script (I'm using a perl
script at the moment), which user actually started the installer
package?
Cheers,
Knud
-------------------------------------------------
Knud Möller, MA
+353 - 91 - 495086
Smile Group: http://smile.deri.ie
Digital Enterprise Research Institute
National University of Ireland, Galway
Institiúid Taighde na Fiontraíochta Digití
Ollscoil na hÉireann, Gaillimh
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
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