Information
The umask (1) utility overrides the file mode creation mask as specified by the CMASK value in the /etc/default/init file. The most permissive file permission is mode 666 (777 for executable files). The CMASK value subtracts from this value. For example, if CMASK is set to a value of 022, files created will have a default permission of 644 (755 for executables). See the umask (1) manual page for a more detailed description.
Note - There are some known bugs in the following daemons that are impacted by changing the CMASK parameter from its default setting: (Note: Current or future patches may have resolved these issues. Consult with your Oracle Support representative)
6299083 picld i initialise picld_door file with wrong permissions after JASS
4791006 ldap_cachemgr initialise i ldap_cache_door file with wrong permissions
6299080 nscd i initialise name_service_door file with wrong permissions after JASS
The ldap_cachemgr issue has been fixed but the others are still unresolved. While not directly related to this, there is another issue related to 077 umask settings-
2125481 in.lpd failed to print files when the umask is set 077
Solution
Perform the following to implement the recommended state-
cd /etc/default
awk '/^CMASK=/ { $1 = 'CMASK=022' } { print }' init >init.new
mv init.new init
pkgchk -f -n -p /etc/default/init