Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16457

solr.data.home should not be set to empty string in bin/solr

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0, 9.1
    • main (10.0), 9.2
    • cli
    • None

    Description

      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

      Attachments

        1. fix_security_symlinks-1.patch
          8 kB
          Shawn Heisey
        2. fix_security_symlinks.patch
          5 kB
          Kevin Risden

        Issue Links

          Activity

            People

              krisden Kevin Risden
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 20m
                  4h 20m