From af2486b834ff2f945181f65a45479ff7bc31524f Mon Sep 17 00:00:00 2001 From: Colin Goodheart-Smithe Date: Thu, 9 Feb 2017 15:09:31 +0000 Subject: [PATCH] Adds named pipes access for windows to security policy (elastic/elasticsearch#4927) Windows requires named pipes to be created at a specific location so we need to allow access to this special location in the security policy for the machine learning plugin to run on X-Pack Original commit: elastic/x-pack-elasticsearch@3079e88713358594a5eb4a99092c95ebf7ffbc6d --- elasticsearch/src/main/plugin-metadata/plugin-security.policy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elasticsearch/src/main/plugin-metadata/plugin-security.policy b/elasticsearch/src/main/plugin-metadata/plugin-security.policy index 5e0da18f30f..72c97116cf2 100644 --- a/elasticsearch/src/main/plugin-metadata/plugin-security.policy +++ b/elasticsearch/src/main/plugin-metadata/plugin-security.policy @@ -27,4 +27,7 @@ grant { // needed for multiple server implementations used in tests permission java.net.SocketPermission "*", "accept,connect"; + + // needed for Windows named pipes in machine learning + permission java.io.FilePermission "\\\\.\\pipe\\*", "read,write"; };