Author: violetagg
Date: Wed Jun 28 09:41:33 2017
New Revision: 1800138
URL: http://svn.apache.org/viewvc?rev=1800138&view=rev
Log:
Additional permission for deleting files is granted to JULI as it is required
by FileHandler when running under a Security Manager.
Modified:
tomcat/trunk/conf/catalina.policy
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/conf/catalina.policy
URL:
http://svn.apache.org/viewvc/tomcat/trunk/conf/catalina.policy?rev=1800138&r1=1800137&r2=1800138&view=diff
==============================================================================
--- tomcat/trunk/conf/catalina.policy (original)
+++ tomcat/trunk/conf/catalina.policy Wed Jun 28 09:41:33 2017
@@ -72,7 +72,7 @@ grant codeBase "file:${catalina.home}/bi
permission java.io.FilePermission
"${catalina.base}${file.separator}logs", "read, write";
permission java.io.FilePermission
- "${catalina.base}${file.separator}logs${file.separator}*", "read,
write";
+ "${catalina.base}${file.separator}logs${file.separator}*", "read,
write, delete";
permission java.lang.RuntimePermission "shutdownHooks";
permission java.lang.RuntimePermission "getClassLoader";
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1800138&r1=1800137&r2=1800138&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Jun 28 09:41:33 2017
@@ -63,6 +63,12 @@
<code>TabularData</code> when viewing via the JMX proxy servlet. Patch
provided by Alexis Hassler. (markt)
</fix>
+ <fix>
+ Additional permission for deleting files is granted to JULI as it is
+ required by FileHandler when running under a Security Manager. The
+ thread that cleans the log files is marked as daemon thread.
+ (violetagg)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]