On Jun 3, 2005, at 11:52 PM, Nick Matsakis wrote: > > On Fri, 3 Jun 2005, Bob Ippolito wrote: > > >>> 2. When I install a bdist-made package, the files have the owner of >>> the user that built the package not the user installing the package, >>> even though no root authorization is required. >>> > > >> bdist_mpkg always finds the deepest installation location to install >> to, so changing the permissions of existing directories won't >> happen. Even if installer does have that bug, it shouldn't matter. >> > > bdist_mpkg-build packages *do* change the permissions on existing > directories. See for yourself: > > ----- > artoo% ll -d /Library/Python/2.3/ > drwxrwxr-x 8 root admin 272 4 Jun 00:11 /Library/Python/2.3/ > > artoo% installer -pkg LaunchServices-0.2.mpkg -target / > installer: Package name is LaunchServices 0.2 > installer: Upgrading volume mounted at /. > installer: The upgrade was successful. > > artoo% ll -d /Library/Python/2.3/ > drwxrwxr-x 10 admin admin 340 4 Jun 02:45 /Library/Python/2.3/ > ----- > > If you repair permissions it changes it back to the way it was. It > does > make a difference because some users think you're incompetent if > you ruin > permissions with your
The /usr/bin/installer and the Installer.app can have different behavior, and if either does happen to change permissions, then it's a bug in Mac OS X 10.3 (one that looks rather inconsequential). It absolutely does not have that behavior in 10.4, and it does everything it should be doing as documented. Where did that package come from anyway? I certainly didn't build it. >>> 3. What's the deal with PackageManager? What is a "repository", >>> exactly, and what format are the packages in a repository? >>> > > >> PackageManager is completely irrelevant. >> > > I know PackageManager is unrelated to bdist_mpkg. I'd still like my > question answered so that I can put it up on the Wiki. It's this > kind of > thing that makes macpython so unapproachable---lots of different > ways of > doing the same thing, some deprecated, some not. I meant that it's irrelevant, entirely. Ignore that it exists. PackageManager shouldn't be used. -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig