LUCENE-4337: For now (hopefully) fix problem on FreeBSD. The whole listen to 127.0.0.1 does not work alltogether, because Java allows binding to every port, just not accepting! See issue for details.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-08-30 15:39:27 +00:00
parent a4702d3711
commit 9b31cfe6ad
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
grant { grant {
permission java.io.FilePermission "<<ALL FILES>>", "read,execute"; permission java.io.FilePermission "<<ALL FILES>>", "read,execute";
permission java.io.FilePermission "${tests.sandbox.dir}${/}-", "read,execute,write,delete"; permission java.io.FilePermission "${tests.sandbox.dir}${/}-", "read,execute,write,delete";
permission java.net.SocketPermission "127.0.0.1:1024-", "accept,listen"; permission java.net.SocketPermission "localhost:1024-", "accept,listen";
permission java.net.SocketPermission "*", "connect,resolve"; permission java.net.SocketPermission "*", "connect,resolve";
permission java.util.PropertyPermission "*", "read,write"; permission java.util.PropertyPermission "*", "read,write";
permission java.lang.reflect.ReflectPermission "*"; permission java.lang.reflect.ReflectPermission "*";