• 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
Package Maker ownership issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Package Maker ownership issues


  • Subject: Package Maker ownership issues
  • From: Jakub Bednar <email@hidden>
  • Date: Fri, 2 Oct 2009 15:09:01 +0200

Hi list,

I have a problem regarding Package Maker 3.0.3 and files ownership.

I have a package that I'm installing with ownership of a newly created user MYUSER. I have a preinstall script, that creates this hidden user using dscl with password *. Now I create my package in Package Maker on SYSTEM1 where MYUSER has id 100. I install the package on SYSTEM2 and run "pkgutil --repair" to repair the rights. But the ownership of the files is different after this step. The problem is, that Package Maker has stored exact id 100 from SYSTEM1 in the .pkg instead of symbolic name MYUSER. But this id differs from id that was given to MYUSER on SYSTEM2 (there it was 101).

Is there a way how to tell Package Maker to use symbolic names instead of id numbers? (Maybe in some newer version of Package Maker)

Thanks a lot,

Jakub

P.S. I have found a workaround using pkgutil --export-plist, sed, pkgutil --forget, pkgutil --import-plist but I don't like it really.
_______________________________________________
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: Package Maker ownership issues
      • From: Greg Neagle <email@hidden>
  • Prev by Date: How to convert Bom file to .plist file for pkgutil
  • Next by Date: Re: Package Maker ownership issues
  • Previous by thread: How to convert Bom file to .plist file for pkgutil
  • Next by thread: Re: Package Maker ownership issues
  • Index(es):
    • Date
    • Thread