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:51:50 UTC

lucene-solr:branch_6_2: Add extra permission for linedocsfile

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6_2 30f7ba32a -> 1578c036e


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/1578c036
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1578c036
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1578c036

Branch: refs/heads/branch_6_2
Commit: 1578c036eee1541ea62ff8024b748b16978c513f
Parents: 30f7ba3
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:51:37 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/1578c036/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/1578c036/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";