Author Topic: sqlite db permissions  (Read 2874 times)

Offline cbrace

  • Full Member
  • ***
  • Posts: 75
sqlite db permissions
« on: April 18, 2008, 04:02:21 PM »
Hi all,

To follow up my earlier post ("Install borked"), I started again from scratch with v.0.1.1. I think I am slightly closer to success than the first time around; the problem at this point appears to be permissions. On page 3 of the installer:

Quote
Backend: PEAR::DB
DSN (write): NOT OK (DB Error: insufficient permissions)

Make sure that the configured database exists and that the user has write privileges
DSN: sqlite://roundcubemail.db?mode=0646

I created the db by running sqlite -init SQL/sqlite.initial.sql roundcubemail.db in the roundcube directory. This file as well as roundcube/ have write permissions for user 'www', my webserver.

What am I missing at this point?

TIA



Offline cbrace

  • Full Member
  • ***
  • Posts: 75
Re: sqlite db permissions
« Reply #1 on: April 19, 2008, 07:41:34 AM »
I ended up using Postgres instead.

Still, it would be nice to know how to do this with sqlite. If someone knows, maybe they could add it to the wiki?