Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6542

FSDirectory throws AccessControlException unless you grant write access to the index

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.3, 6.0
    • Component/s: core/store
    • Labels:
    • Lucene Fields:
      New

      Description

      Hit this during my attempted upgrade to Lucene 5.1.0. (Yeah, I know 5.2.0 is out, and we'll be using that in production anyway, but the merge takes time.)

      Various tests of ours test Directory stuff against methods which the security policy won't allow tests to write to. Changes in FSDirectory mean that it now demands write access to the directory. 4.10.4 permitted read-only access.

        Attachments

        1. LUCENE-6542.patch
          12 kB
          Uwe Schindler
        2. LUCENE-6542.patch
          12 kB
          Uwe Schindler
        3. LUCENE-6542.patch
          11 kB
          Uwe Schindler
        4. LUCENE-6542.patch
          7 kB
          Uwe Schindler
        5. LUCENE-6542.patch
          7 kB
          Uwe Schindler
        6. LUCENE-6542.patch
          8 kB
          Hoss Man
        7. patch.txt
          0.7 kB
          Trejkaz

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                trejkaz Trejkaz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: