https://bz.apache.org/bugzilla/show_bug.cgi?id=59942
jiucai <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |REMIND --- Comment #3 from jiucai <[email protected]> --- finally, I found it at tomcat9.0 changelog http://tomcat.apache.org/tomcat-9.0-doc/changelog.html here: 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 Tomcat8.5.x and Tomcat9.0.x, at bin/catalina.sh there sets umask when tomcat started , becuase umask=0027, so files cerated by tomcat will be 640 and dirs will be 750. # Set UMASK unless it has been overridden if [ -z "$UMASK" ]; then UMASK="0027" fi umask $UMASK Now, When I start tomcat process, I set env var UMASK to 0022 will change back the way that log files created as tomcat8.0. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
