[Catalyst] Troubleshooting FastCGI error

Dermot paikkos at googlemail.com
Thu Aug 28 21:18:33 BST 2008


2008/8/28 Marcus Ramberg <marcus at nordaaker.com>:
>
> 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.
>
> Marcus

Thanx Marcus. That's useful to know.
Dp.



More information about the Catalyst mailing list