We were on 5.4

"solr.allowPaths" has been configured, without that reference a different error 
is shown about relative paths.

-----Original Message-----
From: Shawn Heisey <apa...@elyograg.org>
Sent: 07 October 2022 17:07
To: users@solr.apache.org
Subject: Re: Node backup using replication

[You don't often get email from apa...@elyograg.org. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

WARNING: This email originated from outside of NHS Wales. Do not open links or 
attachments unless you know the content is safe.


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.Ac
> cessControlException: 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

Rydym yn croesawu derbyn gohebiaeth yng Nghymraeg. Byddwn yn ateb y fath 
ohebiaeth yng Nghymraeg ac ni fydd hyn yn arwain at oedi.
We welcome receiving correspondence in Welsh. We will reply to such 
correspondence in Welsh and this will not lead to a delay.

Reply via email to