• 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
Re: Making an installer package (locations and, owner/group)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making an installer package (locations and, owner/group)


  • Subject: Re: Making an installer package (locations and, owner/group)
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 5 Oct 2010 16:35:19 +0200

On Oct 5, 2010, at 1:06 PM, Christiaan Hofman wrote:

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.

It's definitely not a good idea not to set the owner and group of application in /Applications to at least root:admin.


It's not because it's not what happens when you make a supposedly standard installation (it's not an installation, it's a copy/move operation) that this behavior should be duplicated with a real installer.


_______________________________________________ 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
References: 
 >Making an installer package (locations and, owner/group) (From: Antonio Nunes <email@hidden>)
 >Re: Making an installer package (locations and, owner/group) (From: Jonas Maebe <email@hidden>)
 >Re: Making an installer package (locations and, owner/group) (From: Christiaan Hofman <email@hidden>)

  • Prev by Date: Re: Making an installer package (locations and, owner/group)
  • Next by Date: Re: Static Analyzer Question -- Suppressing Message in Special Circumstances
  • Previous by thread: Re: Making an installer package (locations and, owner/group)
  • Next by thread: Exporting custom class names from ibtool
  • Index(es):
    • Date
    • Thread