Re: Making an installer package (locations and, owner/group)
Re: Making an installer package (locations and, owner/group)
- Subject: Re: Making an installer package (locations and, owner/group)
- From: Christiaan Hofman <email@hidden>
- Date: Tue, 5 Oct 2010 13:06:40 +0200
On Oct 5, 2010, at 11:34, Jonas Maebe wrote:
>
> On 05 Oct 2010, at 11:15, Antonio Nunes wrote:
>
>> 1. Permissions for the apps. I want the user to be able to move/remove the GUI app from the applications folder after installation. According to recommendations owner and group should be root/admin, but that results in the GUI app not being relocatable by the user without entering an admin password. What would be the correct owner/group and permissions to set in PackageMaker for the GUI app?
>
> Make everything also group-readable/writable.
>
I would disagree with both of you, based on what I see in my Applications folder. I would say that you should get the same as a standard installation would give you (i.e. drag&drop from a dmg), which means that the owner should be the user. Apple installs its apps with root as owner, but it does not make it group-writable. So this proposal would not correspond to anything that normally happens, therefore I would not recommend it. So unless your app needs special privileges for some reason, I would say that the owner should be the user.
Christiaan
>> 2. My current plan is to install the command-line binaries in "/usr/local/bin/". Is there a more appropriate place for them, or is this fine?
>
> That's the most appropriate place (see "man hier" and search for local).
>
>
> Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden