• 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: Apple Software Delivery Guide...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Software Delivery Guide...


  • Subject: Re: Apple Software Delivery Guide...
  • From: Iceberg-Dev <email@hidden>
  • Date: Sat, 21 Nov 2009 00:30:54 +0100


On Nov 20, 2009, at 10:16 PM, Eli Bach wrote:


On Nov 20, 2009, at 1:10 PM, Don Montalvo wrote:

Because Installer.app will change ownership/permissions on all folders referenced in a package to what is specified in the package. So if you don't get them exactly right, you'll negatively affect the security of the user's computer. And it makes it more difficult for Apple to change ownership/permission on these folders if they need to.

But if a folder already exists, /usr/sbin/installer should leave permissions alone, correct?

No, that's the problem. Installer.app/installer does NOT leave permissions/ownership alone. It applies whatever permissions are specified in the package to the folders. That's why Apple says not to include the folders in your packages.

AFAIK, if a folder already exists, the permissions are unchanged _UNLESS_ the overwrite permissions flag is set.


With PackageMaker, you don't have the ability to change this flag for Flat packages (IIRC). You can change it for bundle packages. With other tools, you can change this flag.

Apple _DOES_ include system folders in its packages and these packages are not system related packages but applications (e.g. iTunes).

_______________________________________________
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


References: 
 >Re: Apple Software Delivery Guide... (From: Don Montalvo <email@hidden>)
 >Re: Apple Software Delivery Guide... (From: Eli Bach <email@hidden>)

  • Prev by Date: Re: Apple Software Delivery Guide...
  • Next by Date: Re: Apple Software Delivery Guide...
  • Previous by thread: Re: Apple Software Delivery Guide...
  • Next by thread: Re: Apple Software Delivery Guide...
  • Index(es):
    • Date
    • Thread