views:

10

answers:

0

For some reason, when I run the my installer it sets each file's owner to root group to wheel, and permissions mask to 700. I have checked that the permissions and owner of the files in files (which I build the installer from via the --root parameter) are set to the current user and 755.

I also tried adding the --no-recommend flag, but that didn't help.

Do I have to write a post-flight script to read the install receipt (or the BOM?) to get the list of installed files, then chmod/chown them myself? That seems crazy.

Any ideas?

This is the command I'm using:

packagemaker --root files --id myId --title 'title' --scripts 'installer_scripts/' --filter myRegexFilter