The pkgproto tool on Solaris (like many other OSes) uses the filesystem permissions of the template installation on disk as the desired install permissions. Due to a strict (0077) umask set on some of our build infrastructure, many of the files/directories in the package did not have the appropriate permissions, even though testing before build on other Solaris machines (with less-restrictive umask settings) showed the correct permissions.
This PR sets the filesystem permissions correctly in the rel directory before running pkgproto so that it picks up the correct permissions.
The
pkgproto
tool on Solaris (like many other OSes) uses the filesystem permissions of the template installation on disk as the desired install permissions. Due to a strict (0077
) umask set on some of our build infrastructure, many of the files/directories in the package did not have the appropriate permissions, even though testing before build on other Solaris machines (with less-restrictive umask settings) showed the correct permissions.This PR sets the filesystem permissions correctly in the
rel
directory before runningpkgproto
so that it picks up the correct permissions.This resolves #206 (TOOLS-345).