[ http://issues.apache.org/jira/browse/LUCENE-516?page=all ] Yonik Seeley closed LUCENE-516: -------------------------------
Fix Version: 2.0 Resolution: Fixed Assign To: Yonik Seeley The test fails for me too. I looked into it a while ago, and a way to fix it wasn't obvious. The author has indicated that it could be removed, and I just did that. > TestFSDirectory fails on Windows > -------------------------------- > > Key: LUCENE-516 > URL: http://issues.apache.org/jira/browse/LUCENE-516 > Project: Lucene - Java > Type: Bug > Components: Store > Versions: 1.9 > Environment: Windows XP Professional > java version "1.4.2_08" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03) > Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) > Reporter: Dan Climan > Assignee: Yonik Seeley > Fix For: 2.0 > > "ant test" generates the following error consistently when run on a Windows > machine even when run as user with Administrator privileges > [junit] Testcase: > testTmpDirIsPlainFile(org.apache.lucene.index.store.TestFSDirectory): > Caused an ERROR > [junit] Access is denied > [junit] java.io.IOException: Access is denied > [junit] at java.io.WinNTFileSystem.createFileExclusively(Native > Method) > [junit] at java.io.File.createNewFile(File.java:828) > [junit] at > org.apache.lucene.index.store.TestFSDirectory.testTmpDirIsPlainFile(TestFSDirectory.java:66) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]