You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2006/04/25 15:14:31 UTC

svn commit: r396875 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy

Author: rhillegas
Date: Tue Apr 25 06:14:28 2006
New Revision: 396875

URL: http://svn.apache.org/viewcvs?rev=396875&view=rev
Log:
DERBY-955: Patch security policy for classtree so that sysinfo runs cleanly: bug955_sysinfo.diff.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy?rev=396875&r1=396874&r2=396875&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy Tue Apr 25 06:14:28 2006
@@ -146,6 +146,10 @@
 // super-set of the jar permissions for running out of the classes directory
 //
 grant codeBase "${derbyTesting.codeclasses}" {
+  // BUG DERBY-622 derbynet/sysinfo.java
+  permission java.io.FilePermission "${derbyTesting.codedir}${/}*", "read";
+  permission java.io.FilePermission "${derbyTesting.codedir}", "read";
+  
   // Access all properties using System.getProperties
   permission java.util.PropertyPermission "*", "read, write";