Permissions for User and /Library install
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