Package Maker ownership issues
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