On 10/7/22 09:54, Joe Jones (DHCW - Software Development) wrote:
We are in the process of migrating our data to a new installation of Solr 9
<snip>
We see the error

<str name="message">Error encountered while creating a snapshot: access denied ("java.io.FilePermission" 
"D:\Solr\backup\node1" "read")</str>
<str name="exception">java.security.AccessControlException:java.security.AccessControlException: access denied 
("java.io.FilePermission" "D:\Solr\backup\node1" "read")</str>

As a test the folder Solr has full control for 'everyone' so I don't see why 
there is a java read error.

What version are you upgrading from?  Starting in version 8.6, the security manager Solr is using blocks access to locations outside of the Solr home.  The allowed paths are set in solr.xml and the solr.xml that Solr ships with references the "solr.allowPaths" system property for that setting.

https://solr.apache.org/guide/solr/latest/configuration-guide/configuring-solr-xml.html

Thanks,
Shawn

Reply via email to