Last few days errors:
May 28 16:38:27 mail roundcube: DB Error: [7] ERROR: permission denied for relation cache_shared (SQL Query: DELETE FROM cache_shared WHERE expires < now()) in /var/www/roundcubemail-1.0.1/program/lib/Roundcube/rcube_db.php on line 467 (GET /mail/?_task=settings&_action=edit-folder&_mbox=&_framed=1)
May 29 09:28:43 mail roundcube: DB Error: [7] ERROR: permission denied for relation cache_shared (SQL Query: DELETE FROM cache_shared WHERE expires < now()) in /var/www/roundcubemail-1.0.1/program/lib/Roundcube/rcube_db.php on line 467 (GET /mail/?_email=root%40mail.garden-lan.com&_action=photo&_task=addressbook)
May 30 09:41:06 mail roundcube: DB Error: [7] ERROR: permission denied for relation cache_shared (SQL Query: DELETE FROM cache_shared WHERE expires < now()) in /var/www/roundcubemail-1.0.1/program/lib/Roundcube/rcube_db.php on line 467 (GET /mail/?_task=mail&_err=session)
Not sure how to reproduce. I just leave RC open and use it casually and eventually the error shows up. Haven't a clear cause based on my actions yet.
output of your \z command:
postgres=# \c roundcubemail
You are now connected to database "roundcubemail" as user "postgres".
roundcubemail=# \z
Access privileges
Schema | Name | Type | Access privileges | Column ac
cess privileges
--------+---------------------+----------+---------------------------+----------
----------------
public | cache | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | cache_index | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | cache_messages | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | cache_shared | table | postgres=arwdDxt/postgres+|
| | | roundcube=d/postgres |
public | cache_thread | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | contactgroupmembers | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | contactgroups | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | contactgroups_seq | sequence | postgres=rwU/postgres +|
| | | roundcube=rwU/postgres |
public | contacts | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | contacts_seq | sequence | postgres=rwU/postgres +|
| | | roundcube=rwU/postgres |
public | dictionary | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | identities | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | identities_seq | sequence | postgres=rwU/postgres +|
| | | roundcube=rwU/postgres |
public | searches | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | searches_seq | sequence | postgres=rwU/postgres +|
| | | roundcube=rwU/postgres |
public | session | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | system | table | |
public | users | table | postgres=arwdDxt/postgres+|
| | | roundcube=arwd/postgres |
public | users_seq | sequence | postgres=rwU/postgres +|
| | | roundcube=rwU/postgres |
(19 rows)
roundcubemail=#
output from your sql statement:
roundcubemail=# GRANT SELECT,INSERT,UPDATE,DELETE ON cache_shared,system TO roundcube;
GRANT
roundcubemail=#