[tor-commits] [metrics-base/master] Add permission for tests to create hard links.

karsten at torproject.org karsten at torproject.org
Fri Nov 1 08:02:13 UTC 2019


commit eb16cb359db41722e6089bafb1e26808df4338df
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Fri Nov 1 09:01:13 2019 +0100

    Add permission for tests to create hard links.
    
    This is going to be required by the tests for CollecTor's #31204.
---
 java/junittest.policy | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/junittest.policy b/java/junittest.policy
index eb3ea91..156938e 100644
--- a/java/junittest.policy
+++ b/java/junittest.policy
@@ -17,4 +17,5 @@ grant {
   permission java.lang.RuntimePermission "getProtectionDomain";
   permission java.lang.RuntimePermission "reflectionFactoryAccess";
   permission java.lang.RuntimePermission "setFactory";
+  permission java.nio.file.LinkPermission "hard";
 };



More information about the tor-commits mailing list