Portfile magic / xinstall usage / defect?

Joshua Root jmr at macports.org
Sun Dec 10 06:45:33 UTC 2023


On 10/12/2023 16:33, Frank Stock wrote:
> So every macOS installer that expect certain ownership, needs a pre/post install script that ensures the expected users exist (or create them).  It should then explicitly set ownership of files with non-default ownership.

Well let's first confirm that pkgbuild and Installer.app behave this way 
when configured appropriately. If the users and groups do have to be 
created by custom code in the pkg, doing it in preflight should result 
in the files being created correctly by the installer with no further 
intervention.

- Josh


More information about the macports-dev mailing list