HomePhorge

(#14909) Update createpackage.sh to resolve permissions issues
300fce9193ddUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#14909) Update createpackage.sh to resolve permissions issues

Previously, PackageMaker would apply the permissions found on
the system to files in the package if one of the files in the
payload already existed on the disk, rather than the ones set
up in the package root.

This means that when the Mac Puppet package had previously installed
group-writable files, and PackageMaker was used to build a new
package, the files in the new package used the local broken
permissons - resulting in a package containing files with group-
writable permissions.

This commit changes the call to PackageMaker to explicitly not
apply recommended permissions to package contents (using the
'--no-recommend' flag) . This ensures that the desired permissions
are applied.

Details

Provenance
Will Hopper <whopper@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUbe829aeb0a43: Merge branch '2.7rc' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Will Hopper <whopper@puppetlabs.com> committed rPU300fce9193dd: (#14909) Update createpackage.sh to resolve permissions issues (authored by Will Hopper <whopper@puppetlabs.com>).Jun 21 2012, 10:13 PM