severity 413673 important
thanks
hi,
On Tue, Mar 06, 2007 at 03:27:10PM +0100, Vincent Bernat wrote:
> It seems that on a fresh install, /etc/zabbix/dbconfig.php is owned by
> root:root and not root:www-data. I think that ucf does not copy
> owner/group (but keep them if the file already exists).
this obviously breaks the web-frontend. It seems like ucf does indeed
not care about the files groups (and/or users) settings. The fix would
be trivial (one more chwon to postinst after the ucf call) but im not
sure if this would be a work around for a bug (or feature?) in ucf.
Shortcut from zabbix-frontend-php postinst:
touch $CONFFILE.ucftmp
chown root:www-data $CONFFILE.ucftmp
chmod 640 $CONFFILE.ucftmp
[ writes config settings to temporary file ]
ucf --debconf-ok $CONFFILE.ucftmp $CONFFILE
rm -f $CONFFILE.ucftmp
$CONFFILE will be root:root, even tho the temprorary file has been
created with root:www-data. Maybe ucf's maintainer could shed some light
on this "issue" :-)
bye,
- michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]