Re: Owner/Group for files put in ~/Library folders
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Why are you writing to ~/Library/Application Support as part of an install? What happens if a machine has two users, and user1 installs your package, logs out, then user2 logs in and tries to use your software? What happens if the software is installed by an automated process (Casper, LANrev, munki, ARD, etc) and there is no current user? If the file is needed, why can't it be in /Library/Application Support? Or why can't the software generate it on first launch if it is missing from the current user's home folder? This would cover all users of the machine, even those created after the software is installed. -Greg On Aug 25, 2010, at 8:55 AM, Howard Moon wrote:
Hi,
following the FAQs in the Iceberg User Guide and the advice of folks here, I am able to install a text file into a folder under ~/Library/Application Support (and not overwrite it if it exists). But after installing, I see that the Owner and Group for that file are "root" and "admin", respectively. (Which makes sense, since that's what I set in Iceberg.)
But if I create a file in that same location myself, (using TextEdit, for example), then the Owner and group are both "Howard".
Is this a problem? Do I need to set the Owner and Group differently on a user's machine? If so, how do I set them in Iceberg (or in my Postflight script) to be the actual user whose home folder it is stored under?
Thanks, Howard
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/greg.neagle%40disneyani...
This email sent to greg.neagle@disneyanimation.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg Neagle