Hi Kushagra, On Tue, May 19, 2020 at 3:14 PM Kushagra Bindal <bindal.kusha...@gmail.com> wrote:
> Thanks Martin! > > If I will keep on commenting this line, then what will be the impact of the > same on the application. > > Please let me know so that we can plan it accordingly. > Look at https://github.com/apache/tomcat/blob/master/java/org/apache/catalina/security/SecurityListener.java It is used only at start time. If Tomcat starts fine then all is good! If it throws an Error then you will need to fix the issue. > > > Regards > Kushagra > > On Tue, May 19, 2020, 11:55 AM Martin Grigorov <mgrigo...@apache.org> > wrote: > > > Hi, > > > > On Mon, May 18, 2020 at 7:38 PM Kushagra Bindal < > bindal.kusha...@gmail.com > > > > > wrote: > > > > > Hi, > > > > > > We are planning to upgrade from apache tomcat from 8.5.24 to 8.5.53 > > > version. During this process I found that in catalina.sh file below > line > > > which was commented in 8.5.24 version > > > > > > # Uncomment the following line to make the umask available when using > the > > > # org.apache.catalina.security.SecurityListener > > > #JAVA_OPTS="$JAVA_OPTS > > > -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask`" > > > > > > Has now been uncommented into 8.5.53 version. > > > > > > # Make the umask available when using the > > > org.apache.catalina.security.SecurityListener > > > JAVA_OPTS="$JAVA_OPTS > > > -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask`" > > > > > > Is there any specific reason behind this? > > > > > > > > > > https://github.com/apache/tomcat/commit/b9a64cf7bd75e9c80d2913b818393ea89ec14ddc > > This is the commit. > > It is like this since 8.5.30 > > > > > > > > > > -- > > > Regards, > > > Kushagra > > > > > >