You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2016/08/21 18:49:02 UTC

lucene-solr:master: Add extra permission for linedocsfile

Repository: lucene-solr
Updated Branches:
  refs/heads/master 2a337c399 -> c164d7f2b


Add extra permission for linedocsfile


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c164d7f2
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c164d7f2
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c164d7f2

Branch: refs/heads/master
Commit: c164d7f2b230d18ff29106ce38add576043c5b69
Parents: 2a337c3
Author: Uwe Schindler <us...@apache.org>
Authored: Sun Aug 21 20:48:42 2016 +0200
Committer: Uwe Schindler <us...@apache.org>
Committed: Sun Aug 21 20:48:42 2016 +0200

----------------------------------------------------------------------
 lucene/tools/junit4/solr-tests.policy | 1 +
 lucene/tools/junit4/tests.policy      | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c164d7f2/lucene/tools/junit4/solr-tests.policy
----------------------------------------------------------------------
diff --git a/lucene/tools/junit4/solr-tests.policy b/lucene/tools/junit4/solr-tests.policy
index 6f03b0f..9c8a39f 100644
--- a/lucene/tools/junit4/solr-tests.policy
+++ b/lucene/tools/junit4/solr-tests.policy
@@ -32,6 +32,7 @@ grant {
   permission java.io.FilePermission "${junit4.childvm.cwd}${/}jacoco.db", "write";
   permission java.io.FilePermission "${junit4.tempDir}${/}*", "read,execute,write,delete";
   permission java.io.FilePermission "${clover.db.dir}${/}-", "read,execute,write,delete";
+  permission java.io.FilePermission "${tests.linedocsfile}", "read";
   
   // all possibilities of accepting/binding connections on localhost with ports >=1024:
   permission java.net.SocketPermission "localhost:1024-", "accept,listen";

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c164d7f2/lucene/tools/junit4/tests.policy
----------------------------------------------------------------------
diff --git a/lucene/tools/junit4/tests.policy b/lucene/tools/junit4/tests.policy
index 2a623b7..2dde5c6 100644
--- a/lucene/tools/junit4/tests.policy
+++ b/lucene/tools/junit4/tests.policy
@@ -34,6 +34,7 @@ grant {
   permission java.io.FilePermission "${junit4.childvm.cwd}${/}jacoco.db", "write";
   permission java.io.FilePermission "${junit4.tempDir}${/}*", "read,write,delete";
   permission java.io.FilePermission "${clover.db.dir}${/}-", "read,write,delete";
+  permission java.io.FilePermission "${tests.linedocsfile}", "read";
 
   // misc HardlinkCopyDirectoryWrapper needs this to test if hardlinks can be created
   permission java.nio.file.LinkPermission "hard";