On Sun, 15 Apr 2007 20:12:21 -0400 Erik Morton <[EMAIL PROTECTED]> wrote:
> Zed, > Thank you very much for the reply. The solution, as you will see, is > very humbling for me. I installed strace and it looks like the > problem is that there is a recursive permission denied error in an > infinite loop that is hanging Mongrel: > > open("/var/www/apps/search/current/config/../indexes/final/ > segments_5", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied) Yeah, that's bad. Probably lots of other ferret related errors like that. > My fix is obviously to change the ownership of my index files from > root to the correct user. > > The infinite loop seems like a Ferret issue. Do you agree? Yep, tell them about it. That's basic IO operations. It means that the author is calling open and not checking for error conditions on the return. EVERY time someone has that habit they write code that's easily hacked. -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/ http://www.awprofessional.com/title/0321483502 -- The Mongrel Book http://mongrel.rubyforge.org/ _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users