You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by br...@apache.org on 2021/03/04 15:34:10 UTC

[lucene-solr] branch branch_8x updated: SOLR-15038: Restore read-only permission in security.policy

This is an automated email from the ASF dual-hosted git repository.

broustant pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new e791fb0  SOLR-15038: Restore read-only permission in security.policy
e791fb0 is described below

commit e791fb00a9452081d417d43fb7713d95ca73663b
Author: Bruno Roustant <br...@salesforce.com>
AuthorDate: Thu Mar 4 16:32:34 2021 +0100

    SOLR-15038: Restore read-only permission in security.policy
---
 solr/server/etc/security.policy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/server/etc/security.policy b/solr/server/etc/security.policy
index 9f687f2..bcf82b9 100644
--- a/solr/server/etc/security.policy
+++ b/solr/server/etc/security.policy
@@ -23,7 +23,7 @@ grant {
   // contain read access to only what we need:
   // 3rd party jar resources (where symlinks are not supported), test-files/ resources
   permission java.io.FilePermission "${common.dir}${/}-", "read";
-  permission java.io.FilePermission "${common.dir}${/}..${/}solr${/}-", "read,write";
+  permission java.io.FilePermission "${common.dir}${/}..${/}solr${/}-", "read";
   // 3rd party jar resources (where symlinks are supported)
   permission java.io.FilePermission "${user.home}${/}.ivy2${/}cache${/}-", "read";
   // system jar resources