Re: Package Maker ownership issues
Re: Package Maker ownership issues
- Subject: Re: Package Maker ownership issues
- From: Greg Neagle <email@hidden>
- Date: Fri, 2 Oct 2009 08:14:54 -0700
user/group info for filesystem items is _always_ stored as numeric
values.
When you create your user, specify the UID at that time as well.
-Greg
On Oct 2, 2009, at 6:09 AM, Jakub Bednar wrote:
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
_______________________________________________
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