• 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
Permissions for User and /Library install
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Permissions for User and /Library install


  • Subject: Permissions for User and /Library install
  • From: Bryan Hansen <email@hidden>
  • Date: Mon, 6 Aug 2007 11:36:18 -0700

I am trying to write an installer which will install files into the / Library/Application support/ folder to be available to all users and some files which will be installed in the users home directory Library.

It seems that I will need to require admin or root privileges in the installer, but I'd like the files being installed into the users library to be owned by that user NOT root or admin. Is it possible to do this by adjusting settings in my Packagemaker project or through the use of a postscript installer. I already have some postscript functionality for moving the files into the User's home library from a temporary directory, but setting the permissions for these files to the users is proving harder. Is there a unix command to chown files to whatever the currently logged in user is? And how might that command be affected by running the installer as admin or root?

Thanks for any help!
_______________________________________________
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: Permissions for User and /Library install
      • From: Knud Hinnerk Möller <email@hidden>
    • Re: Permissions for User and /Library install
      • From: Stéphane Sudre <email@hidden>
  • Next by Date: Re: Permissions for User and /Library install
  • Next by thread: Re: Permissions for User and /Library install
  • Index(es):
    • Date
    • Thread