[Catalyst] Troubleshooting FastCGI error

Marcus Ramberg marcus at nordaaker.com
Thu Aug 28 20:05:44 BST 2008

On 13. aug.. 2008, at 13.40, Dermot wrote:
> Thanx Carl and Sorry Matthias, I didn't follow you exactly because
> su apache
> This account is currently not available
> and
> su -m apache
> bash: /root/.bashrc: Permission denied
> So I have chown apache:apache MyApp directory and it works.
> Is it okay to leave the top level directory and the datafile owned by
> the httpd user? I would have thought all the other code should be
> read-only for other that user.

SQLite requires write access on the directory the data file is in as  
well as the data file to be able to provide locking. leaving the app  
writeable by the httpd user isn't really recommended. I suggest moving  
your sqlite database to a db directory or something similar.


More information about the Catalyst mailing list