The changelog here lists the following:
Tighten up the default file permissions for the .tar.gz distribution so no files or directories are world readable by default. Configure Tomcat to run with a default umask of 0027 which may be overridden by setting UMASK in setenv.sh. (markt)
In “catalina.sh” file, the following sets the umask to 0027:
# Set UMASK unless it has been overridden if [ -z "$UMASK" ]; then UMASK="0027" fi umask $UMASK
bin/setenv
.
sh
under your tc Server instance's directory. If this file does not exist, create it.export UMASK=XXXX
, where XXXX
is the umask that you would like applied.