My Index Writer daemon is running as root. The index directory's permission
is 755 (root.root); I created a file manually in that directory and the file
was 644. All files created by CLucene 2.3.2 in that directory are 600. I
didn't have that issue with CLucene 0.9.x.

Any idea?

- Mike
aka...@gmail.com


On Thu, Oct 22, 2009 at 3:29 AM, Ben vanklinken <bvanklin...@gmail.com>wrote:

> As far as I am aware we don't specify any file permissions when we open a
> file for writing. It is up to the file system based on parent
> directory/sticky bit/whatever
>
> Ben
>
> Sent from my iPhone
>
> On 22/10/2009, at 12:04 AM, Michel Nadeau <aka...@gmail.com> wrote:
>
> Hi,
>
> Is there a way to specify the IndexWriter to write index files using a
> specific permission? The default seems to be 600 (read/write by owner only).
> I would like my index files to be written using the 644 permission.
>
> Thanks!
>
> - Mike
> <aka...@gmail.com>aka...@gmail.com
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
>
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to