Ferret bug when non-root user tries to read from an index ow


#1

I noticed an issue where a Mongrel would hang at 50% CPU utilization
indefinitely while attempting to query a Ferret index. I discovered
that the index directory was owned by root and Mongrel was running as
a non-root user. I straced the Mongrel and result was an infinite
loop of:

open("/var/www/apps/search/current/config/…/indexes/final/
segments_5", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied)

My fix was obviously to change the permissions of the directory. Is
the infinite loop of permission denied errors a bug in Ferret?

Thanks.

Erik