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

Uwe Schindler commented on LUCENE-5626:
---------------------------------------

In fact this is a major pain and goes back to MS DOS times... If you at some 
time used the Win32 API, you know that whenever windows does not know how to 
handle a file it returns ERROR_ACCESS_DENIED on GetLastError (0x5). This is 
just the error code for, "everything DOS never supported".

> SimpleFSLockFactory "access denied" on windows.
> -----------------------------------------------
>
>                 Key: LUCENE-5626
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5626
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/store
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>             Fix For: 4.9, 5.0
>
>         Attachments: LUCENE-5626.patch, LUCENE-5626.patch
>
>
> This happened twice in jenkins:
> {noformat}
> [lockStressTest2] Exception in thread "main" java.io.IOException:
> Access is denied
> [lockStressTest2] at
> java.io.WinNTFileSystem.createFileExclusively(Native Method)
> [lockStressTest2] at java.io.File.createNewFile(File.java:1012)
> [lockStressTest2] at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:135)
> {noformat}
> My windows machine got struck by lightning, so I cannot fix this easily. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to