On Tue, Apr 10, 2007 at 12:40:30AM +0200, Sean Lerner wrote: > Hello, > > I did a seemingly smooth install of ferret, but when I try to add it to > my model, I get an error. > > My info: > > My rails site: shelikes (a restaurant review site) > My controller: Display > My model: Review > > My only line of code added for ferret is: > > class Review < ActiveRecord::Base > > acts_as_ferret > > ...( more stuff not related )... > > end > > Below is the error information. Any thoughts on how to troubleshoot > this? > > thanks, > > Sean > ========================================== > Errno::EACCES in DisplayController#index > > Permission denied - /www/shelikes/index
that's saying acts_as_ferret wants to create the index directory structure, but it can't because of insufficient access rights. To solve this, create the index directory as root (or some other user with write access to this directory) and chown it to the user your server is running under: # mkdir /www/shelikes/index # chown mongrel_user /www/shelikes/index After that aaf will be able to create it's index. Jens -- Jens Krämer webit! Gesellschaft für neue Medien mbH Schnorrstraße 76 | 01069 Dresden Telefon +49 351 46766-0 | Telefax +49 351 46766-66 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

