❦ 29 octobre 2014 16:13 +0100, Dominik George <dominik.geo...@teckids.org> :

> The recent upgrade of the package broke roundcube with a permission
> problem upon reading its configuration. The file
> /etc/roundcube/debian-db.php was identified as being the culprit.
>
> This file is generated by dbconfig-common and should be owned by
> root:www-data with permissions 0640. After the upgrade, however, it was
> owned by root:root with permissions 0640 (reproducible on two systems),
> making it unreadable by the webserver.
>
> I got the idea that it might be related to #720517 somehow…
>
> As a workaround, this solves the issue:
>
> # chown :www-data /etc/roundcube/debian-db.php
>
>
> Credits to Simon Bruder <simon.bru...@teckids.org>, our 10 year-old
> infrastructure admin, for stumbling upon this in a dist-upgrade,
> identifying the origin of the failure in the server logs and helping
> find out it is dbconfig-common related by reading the postinst script
> ;). You rock, fellow ☺!

The postinst script has already a lot of that in it:

roundcube-core.postinst:dbc_generate_include_owner="root:www-data"
roundcube-core.postinst:dbc_dbfile_owner="www-data:www-data".

Could you confirm when you did upgrade roundcube? Is it before or after
the upgrade of dbconfig-common to 1.8.47+nmu2?
-- 
Document your data layouts.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Reply via email to