Re: Owner/Group for files put in ~/Library folders
Re: Owner/Group for files put in ~/Library folders
- Subject: Re: Owner/Group for files put in ~/Library folders
- From: Greg Neagle <email@hidden>
- Date: Wed, 25 Aug 2010 09:31:14 -0700
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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> 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