It was due to https://issues.apache.org/jira/browse/SOLR-16457  the home
was set to empty string, fixing it resolved it.

Thank you Justin, appreciate the response and the link to the github which
led me to the above jira.


On Wed, Jul 26, 2023 at 11:54 AM Justin Sweeney <justin.sweene...@gmail.com>
wrote:

> You'll probably want to look into your Java Security Policy settings
> as that is what causes this error. You can see default security policy
> included in the Solr distribution here:
>
> https://github.com/apache/solr/blob/b9100ba775defbed5114dd92526382047ce611dc/solr/server/etc/security.policy#L4
> .
> You'll want to make sure the right properties are being set for your
> Solr data directory to ensure Solr has file permissions to that
> directory.
>
> On Wed, Jul 26, 2023 at 10:48 AM rajani m <rajinima...@gmail.com> wrote:
> >
> > Hi,
> >
> >    Trying to upgrade from 9.1.1 to the latest version solr 9.3.0,
> > encountered a file permissions issue specific to this directory
> > "snapshot_metadata" which is not seen in 9.1.1. It is there in 9.2.x and
> > the latest version.
> >
> >
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> > access denied ("java.io.FilePermission"
> >
> "/mnt/data/solr/solr/legacy_v1_s1_shard3_replica_n1/data/snapshot_metadata"
> > "read")
> >
> > What is causing it?  If this directory is only accessed by backup and
> > restore features, and if we don't use that feature, can we delete this
> > directory and work without it?
> >
> > Thanks,
> > Rajani
>

Reply via email to