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

Shawn Heisey commented on SOLR-5617:
------------------------------------

I will have to double-check, but I probably have the specifics that required me 
to turn off the safety checking wrong.  It may have been configuration 
components gathered via xinclude, not jarfiles.  Either way, I am sure that 
everything is under the solr home.


> Default classloader restrictions may be too tight
> -------------------------------------------------
>
>                 Key: SOLR-5617
>                 URL: https://issues.apache.org/jira/browse/SOLR-5617
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6
>            Reporter: Shawn Heisey
>              Labels: security
>             Fix For: 5.0, 4.7
>
>
> SOLR-4882 introduced restrictions for the Solr class loader that cause 
> resources outside the instanceDir to fail to load.  This is a very good goal, 
> but it also causes resources in $\{solr.solr.home\}/lib to fail to load.  In 
> order to get those jars to work, I must turn off all SOLR-4882 safety 
> checking.
> I can understand not wanting to load resources from an arbitrary path, but 
> the solr home and its children should be about as trustworthy as instanceDir.
> Ideally I'd like to have $\{solr.solr.home\}/lib trusted automatically, since 
> it is searched automatically.  If I need to define a system property to make 
> this happen, I'm OK with that -- as long as I don't have to turn off the 
> safety checking entirely.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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

Reply via email to