[ 
https://issues.apache.org/jira/browse/SOLR-16457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685453#comment-17685453
 ] 

Jan Høydahl commented on SOLR-16457:
------------------------------------

I upgraded an app from 9.1 to 9.2 today, and it stopped working with 
{{java.security.AccessControlException: access denied ("java.io.FilePermission" 
"/opt/solr/modules/analysis-extras/lib" "read")}}

The app used sysprop 
{{-Dsolr.sharedLib=/opt/solr/modules/analysis-extras/lib}}, but now we need to 
use {{/opt/solr-9.2.0/modules/...}} instead due to this change. We'll start 
using {{-Dsolr.modules=analysis-extras}}, but it would in general be nice to be 
able to refer to any file inside the distro {{/opt/solr}} in a version-neutral 
fashion. Were there any solutions for this?

> solr.data.home should not be set to empty string in bin/solr
> ------------------------------------------------------------
>
>                 Key: SOLR-16457
>                 URL: https://issues.apache.org/jira/browse/SOLR-16457
>             Project: Solr
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 9.0, 9.1
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: main (10.0), 9.2
>
>         Attachments: fix_security_symlinks-1.patch, 
> fix_security_symlinks.patch
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> solr.data.home should not be set to empty string in bin/solr since that 
> causes the security.policy to be more wide open than it should. 
> solr.cmd does NOT have the same issue since it explicitly checks the case of 
> empty SOLR_DATA_HOME before adding it. 
> https://github.com/apache/solr/blob/main/solr/bin/solr.cmd#L1342



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to