You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2023/02/09 15:39:00 UTC

[jira] [Comment Edited] (SOLR-16457) solr.data.home should not be set to empty string in bin/solr

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

Kevin Risden edited comment on SOLR-16457 at 2/9/23 3:38 PM:
-------------------------------------------------------------

O interesting - https://mail.openjdk.org/pipermail/jdk9-dev/2016-October/005062.html. FWIW prior to this change on this jira SOLR-16457 everything under `/` was readable. So this just highlighted an underlying issue.

Either reopening or opening new works for me.


was (Author: risdenk):
O interesting - https://mail.openjdk.org/pipermail/jdk9-dev/2016-October/005062.html. FWIW prior to this change everything under `/` was readable. So this just highlighted an underlying issue.

Either reopening or opening new works for me.

> 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org