mirror of https://github.com/apache/lucene.git
best effort support this reading out of sandbox
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662465 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3347d644d4
commit
9d49ce79e7
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue