On Mar 23, 8:16=A0pm, Miles Smith <mi... / appcon.net> wrote:
> I have a simple IRC Bot that's running with ActiveRecord and a small SQLi=
te3 DB.
>
> When I run as root, the db can be accessed fine, however, when I run it a=
s a normal user, I get a SQLite3::SQLException: unable to open database fil=
e: error.
>
> Now I've already chmoded the DB to 0777 and set the owner to the user in =
question, however the issue still remains.
>
> Any ideas?

Permissions on the directory owning the DB?