You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/01 02:17:04 UTC

[jira] [Commented] (LUCENE-6542) FSDirectory throws AccessControlException unless you grant write access to the index

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

ASF subversion and git services commented on LUCENE-6542:
---------------------------------------------------------

Commit 1688537 from [~thetaphi] in branch 'dev/trunk'
[ https://svn.apache.org/r1688537 ]

LUCENE-6542: FSDirectory's ctor now works with security policies or file systems that restrict write access

> FSDirectory throws AccessControlException unless you grant write access to the index
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6542
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6542
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 5.1
>            Reporter: Trejkaz
>            Assignee: Uwe Schindler
>              Labels: regression
>         Attachments: LUCENE-6542.patch, LUCENE-6542.patch, LUCENE-6542.patch, LUCENE-6542.patch, LUCENE-6542.patch, LUCENE-6542.patch, patch.txt
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org