• 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: Mac OS X 10.4.7 & Relocatable packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X 10.4.7 & Relocatable packages


  • Subject: Re: Mac OS X 10.4.7 & Relocatable packages
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 29 Jun 2006 08:52:59 +0200


On jeudi, juin 29, 2006, at 08:19 AM, Christopher Ryan wrote:


I believe the problem is that the user you are running as (and installing as because you have "None" for authentication doesn't have permissions to write this file in /Library/Fonts.

This has nothing to do with relocation.

If it worked in 10.3.9 it means that either the file you are installing didn't exist in 10.3.9 so your package happened to be able to install it or that /Library/Fonts has become more locked down since 10.3.9.

OK, I made the following tests on 10.4.7.

In all cases:

	1 Package

	IFPkgFlagRelocatable = true

	IFPkgFlagAuthorizationAction = None

	Permissions for the file is always set to 'root:admin'

Case 1:

	IFPkgFlagDefaultLocation = '/'

	Archive contains ./Library/Fonts/A_new_file

Result: In the "Select Destination" pane, you can select a custom destination

Case 2:

	IFPkgFlagDefaultLocation = '/'

	Archive contains ./Library/Fonts/An_existing_font

Result: In the "Select Destination" pane, you can select a custom destination

Case 3:

	IFPkgFlagDefaultLocation = '/Library/Fonts/'

	Archive contains ./A_new_file

Result: In the "Select Destination" pane, you CAN'T select a custom destination

Case 4:

	IFPkgFlagDefaultLocation = '/Library/Fonts/'

	Archive contains ./An_existing_font

Result: In the "Select Destination" pane, you CAN'T select a custom destination

Still doesn't look like a bug?

Problem ID #4605325

Example why this kind of situation is interesting:

I want to install a Preference Pane by default in /Library/PreferencePanes but still let the user be able to select ~/Library/PreferencePanes if he/she's not an admin.

_______________________________________________
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: Mac OS X 10.4.7 & Relocatable packages
      • From: Christopher Ryan <email@hidden>
References: 
 >Re: Mac OS X 10.4.7 & Relocatable packages (From: Christopher Ryan <email@hidden>)

  • Prev by Date: Re: Mac OS X 10.4.7 & Relocatable packages
  • Next by Date: Re: Mac OS X 10.4.7 & Relocatable packages
  • Previous by thread: Re: Mac OS X 10.4.7 & Relocatable packages
  • Next by thread: Re: Mac OS X 10.4.7 & Relocatable packages
  • Index(es):
    • Date
    • Thread