You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2015/02/26 15:47:28 UTC

svn commit: r1662466 - in /lucene/dev/branches/branch_5x: ./ lucene/ lucene/tools/ lucene/tools/junit4/tests.policy

Author: rmuir
Date: Thu Feb 26 14:47:28 2015
New Revision: 1662466

URL: http://svn.apache.org/r1662466
Log:
best effort support this reading out of sandbox

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/lucene/   (props changed)
    lucene/dev/branches/branch_5x/lucene/tools/   (props changed)
    lucene/dev/branches/branch_5x/lucene/tools/junit4/tests.policy

Modified: lucene/dev/branches/branch_5x/lucene/tools/junit4/tests.policy
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/tools/junit4/tests.policy?rev=1662466&r1=1662465&r2=1662466&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/tools/junit4/tests.policy (original)
+++ lucene/dev/branches/branch_5x/lucene/tools/junit4/tests.policy Thu Feb 26 14:47:28 2015
@@ -28,6 +28,10 @@ grant {
   // should be enclosed within common.dir, but just in case:
   permission java.io.FilePermission "${junit4.childvm.cwd}", "read";
 
+  // jenkins wants to read outside its sandbox, to use a special linedocs file.
+  // this is best effort and not really supported.
+  permission java.io.FilePermission "/home/jenkins/lucene-data/enwiki.random.lines.txt", "read";
+
   // write only to sandbox
   permission java.io.FilePermission "${junit4.childvm.cwd}${/}temp", "read,write,delete";
   permission java.io.FilePermission "${junit4.childvm.cwd}${/}temp${/}-", "read,write,delete";