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

FSDirectory throws AccessControlException unless you grant write access to the index

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1
    • 5.3, 6.0
    • core/store
    • 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
          Chris M. Hostetter
        7. patch.txt
          0.7 kB
          Trejkaz

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              trejkaz Trejkaz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: