You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by gl...@locus.apache.org on 2000/08/24 18:58:34 UTC

cvs commit: jakarta-tomcat/src/etc tomcat.policy

glenn       00/08/24 09:58:34

  Modified:    src/etc  tomcat.policy
  Log:
  update policy file comments
  
  Revision  Changes    Path
  1.6       +3 -3      jakarta-tomcat/src/etc/tomcat.policy
  
  Index: tomcat.policy
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/tomcat.policy,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- tomcat.policy	2000/06/15 18:49:52	1.5
  +++ tomcat.policy	2000/08/24 16:58:33	1.6
  @@ -1,7 +1,7 @@
   // Additional permissions for tomcat.
   
   // javac
  -grant codeBase "file:${java.home}/../lib/-" {
  +grant codeBase "file:${java.home}/lib/-" {
          permission java.security.AllPermission;
   };
   
  @@ -15,8 +15,8 @@
   };
   
   // Example webapp policy 
  -// By default we grant read access on webapp dir and
  -// write in workdir
  +// By default we grant read access on webapp dir
  +// and read of the line.separator PropertyPermission
   grant codeBase "file:${tomcat.home}/webapps/examples" {
         permission java.net.SocketPermission "localhost:1024-", "listen";
         permission java.util.PropertyPermission "*", "read";