I am curious, does `sudo sudo -u www-data /usr/share/roundcube/bin/cleandb.sh` work without permission errors for you?
I have the db owned by www-data
``` $ sudo ls -l /var/lib/dbconfig-common/sqlite3/roundcube total 176 -rw-rw---- 1 www-data www-data 176128 May 6 12:34 roundcube ```
I am curious, does `sudo sudo -u www-data /usr/share/ roundcube/ bin/cleandb. sh` work without permission errors for you?
I have the db owned by www-data
``` dbconfig- common/ sqlite3/ roundcube
$ sudo ls -l /var/lib/
total 176
-rw-rw---- 1 www-data www-data 176128 May 6 12:34 roundcube
```