[Pkg-roundcube-maintainers] Bug#767248: roundcube-core: upgrade sets permissions of debian-db.php to root:root

Vincent Bernat bernat at debian.org
Wed Oct 29 15:26:08 UTC 2014


 ❦ 29 octobre 2014 16:13 +0100, Dominik George <dominik.george at 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.bruder at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20141029/e81bb96a/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list