lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Gadea" <alex...@hotmail.com>
Subject Re: java.io.IOException: couldn't delete backup
Date Thu, 18 Dec 2003 12:55:20 GMT
I'd checked that also.  Finally, I got it to work by creating a new empty
directory off the root.  But if I created an empty subdirectory off of that
directory it would not work.  Very strange.  Definitely a security issue
somewhere but for the life of me I can not figure it out.  At least it is
working for now.

Thanks,

Alex

----- Original Message ----- 
From: "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Thursday, December 18, 2003 6:26 AM
Subject: Re: java.io.IOException: couldn't delete backup


> Lucene writes locks to some directories (java.io.temp system property),
> so make sure you can write to those.
>
> Otis
>
> --- Alex Gadea <alexgad@hotmail.com> wrote:
> > I am trying to setup a Lucene installation on a Windows 2000 server.
> > I can not get the IndexWriter to initialize properly.  It fails out
> > with an IOException error that says it could not delete backup.  I
> > have opened up permissions on the directory I am attempting to create
> > the index in as well as the directory I am attempting to read with no
> > success.  Right now the permissions are set to Everyone ALL and I
> > also setup IIS to be able to write to the 2 directories in case that
> > was the problem.  Still no luck.  Are there any other
> > directories/files which Lucene needs access to that I am missing?
> >
> > writer = new IndexWriter(indexPath, analyzer,
> > bCreateIndex.booleanValue());
> >
> > Thanks,
> >
> > Alex Gadea
> >
>
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>

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


Mime
View raw message