site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcUZ19+pW6DK/L92TUul5pl83GiBzAAHyDrA Thread-topic: Two PackageMaker problems Cool Stéphane. Thanks for checking out my package, and thanks much for the info. I'll fix these problems in my next build. Steve PS: The permission problem you point out is EXACTLY why this problem is such a big deal...it's my opinion that the Apple installer shouldn't ever allow you to change permissions on / UNDER ANY CIRCUMSTANCES.
-----Original Message----- From: installer-dev-bounces+steve=equilibrium.com@lists.apple.com [mailto:installer-dev-bounces+steve=equilibrium.com@lists.apple.com] On Behalf Of Stéphane Sudre Sent: Wednesday, February 23, 2005 10:39 AM To: installer-dev@lists.apple.com Subject: Re: Two PackageMaker problems
On mercredi, février 23, 2005, at 07:23 PM, Steve Johnson wrote:
Hi Stéphane,
1) My installers clobber the ownership and permission flags of the root folders into which they install, even though I have 'IFPkgFlagOverwritePermissions' flag set to 'false'. For example, if I install in /usr/local/bin, my installer changes the permissions on /, /usr, /local, and /bin. I've tried building packages both from the command line and using the PackageMaker GUI, with the same results. This seems so fundamentally busted, that I figure I must be missing something. Please HELP!!!
What authorization are you requiring?
It's not a question of particular permissions. The point is that the installer shouldn't change the permissions on /, /usr, etc. at all. The docs say that, as long as I don't set the 'IFPkgFlagOverwritePermissions' flag to 'true, the installer shouldn't modify the permissions of any existing directories.
Hum, ok.
Anyway, there are some issues in your package:
[ ] system("chmod 775 / /Applications /Library");
/ is not 775, it has a special bit too.
[ ] There's a CVS folder in your English.lproj folder which contains some CVS setup information. Fortunately, it's a pserver.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer- dev/steve%40equilibrium.com
This email sent to steve@equilibrium.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Johnson