Re: Apple Software Delivery Guide...
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