On 24-08-13 20:12, Paul Gevers wrote: > On 23-08-13 00:07, Romain Coltel wrote: >> The recent DSA about cacti arose a problem of owner/group being reset to >> the defaults (root/www-data). My configuration (using PHP-FPM with a >> specific group for cacti) needs /etc/cacti/debian.php to be >> group-assigned as "cacti" and not the default "www-data", but after >> upgrading, I found the group to be "www-data" again. > > The /etc/cacti/debian.php file is managed by dbconfig-common, so > reassigning there.
One note while I am reading the source code of dbconfig-common, I believe that if you would correctly register /etc/cacti/debian.php with dpkg-statoverride, your files should be save against dbconfig-common changing the ownership and permissions. Not that I think it should be necessary for configuration files, but at least dbconfig-common uses that information. Paul
signature.asc
Description: OpenPGP digital signature

