• 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: Don Montalvo <email@hidden>
  • Date: Sat, 21 Nov 2009 15:49:35 -0600

Iceberg-Dev <email@hidden> wrote:

> 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.

I've created over 300 packages for my last employer (I'm a contractor now). I've always had the flag set to NOT change permissions on any existing folders. Never had a problem.

> 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).

Thanks for the info. OK, I'll bite. ;) What tools are you talking about...the new version of Iceberg? :):):)

Don

<drooling> _______________________________________________
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

  • Follow-Ups:
    • Re: Apple Software Delivery Guide...
      • From: Iceberg-Dev <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