Author: rhillegas
Date: Sun Dec 9 22:51:05 2018
New Revision: 1848540
URL: http://svn.apache.org/viewvc?rev=1848540&view=rev
Log:
DERBY-3547: Add extra permission to that the engine can canonicalize file names on windows,
as part of the test for system permissions; commit derby-3547-04-aa-canonicalizeFileNamesOnWindows.diff.
Modified:
db/derby/code/trunk/java/org.apache.derby.engine/org/apache/derby/security/securityPolicies.xml
Modified: db/derby/code/trunk/java/org.apache.derby.engine/org/apache/derby/security/securityPolicies.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/org.apache.derby.engine/org/apache/derby/security/securityPolicies.xml?rev=1848540&r1=1848539&r2=1848540&view=diff
==============================================================================
--- db/derby/code/trunk/java/org.apache.derby.engine/org/apache/derby/security/securityPolicies.xml
(original)
+++ db/derby/code/trunk/java/org.apache.derby.engine/org/apache/derby/security/securityPolicies.xml
Sun Dec 9 22:51:05 2018
@@ -1737,6 +1737,17 @@ abort physical connections.</comment>
<output>
<file>classes/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest1.policy</file>
<properties>securityTests.properties</properties>
+
+ <jar>
+ <name>derby.jar</name>
+
+ <block>
+ <comment>Needed to canonicalize file names on Windows.</comment>
+ <d>java.io.FilePermission "<<ALL FILES>>", "read,write"</d>
+ </block>
+
+ </jar>
+
</output>
</policy>
|