• 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: Determine user dir from postinstall while root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Determine user dir from postinstall while root [SOLVED]
      • From: Knud Hinnerk Möller <email@hidden>
References: 
 >Determine user dir from postinstall while root (From: Knud Hinnerk Möller <email@hidden>)

  • Prev by Date: Determine user dir from postinstall while root
  • Next by Date: Re: Determine user dir from postinstall while root [SOLVED]
  • Previous by thread: Determine user dir from postinstall while root
  • Next by thread: Re: Determine user dir from postinstall while root [SOLVED]
  • Index(es):
    • Date
    • Thread