diff --git a/core/src/test/java/org/elasticsearch/bootstrap/BootstrapForTesting.java b/core/src/test/java/org/elasticsearch/bootstrap/BootstrapForTesting.java index a7b9043f3501c..b79ee56d8c24b 100644 --- a/core/src/test/java/org/elasticsearch/bootstrap/BootstrapForTesting.java +++ b/core/src/test/java/org/elasticsearch/bootstrap/BootstrapForTesting.java @@ -97,6 +97,7 @@ public class BootstrapForTesting { String filename = path.getFileName().toString(); if (filename.contains("jython") && filename.endsWith(".jar")) { // just enough so it won't fail when it does not exist + perms.add(new FilePermission(path.getParent().toString(), "read,readlink")); perms.add(new FilePermission(path.getParent().resolve("Lib").toString(), "read,readlink")); } }