[Bug 515087] Re: /etc/aiccu.conf world readable by default

2010-02-08 Thread Jamie Strandboge
The problem seems to be this bit in postinst: if [ "$USERNAME" = "" ]; then # Not configured yet, thus skip exit 0; fi The end of postinst has this: chmod 600 $CONFIGFILE So what is happening is that in the default Ubuntu install the user is not prompted with debconf questions, so

[Bug 515087] Re: /etc/aiccu.conf world readable by default

2010-02-08 Thread Jamie Strandboge
** Also affects: aiccu (Ubuntu Hardy) Importance: Undecided Status: New ** Also affects: aiccu (Ubuntu Intrepid) Importance: Undecided Status: New ** Also affects: aiccu (Ubuntu Jaunty) Importance: Undecided Status: New ** Also affects: aiccu (Ubuntu Karmic) Impo

[Bug 515087] Re: /etc/aiccu.conf world readable by default

2010-02-05 Thread Georg Altmann
Actually the problem only occursa if debconf configuration fails or is skipped. Only then will the example aiccu.conf be copied with world readable permissions. aiccu.postinst sets the permissions correctly if a configuration exists, otherwise it doesn't touch the installed aiccu.conf. Yet if yo

[Bug 515087] Re: /etc/aiccu.conf world readable by default

2010-02-05 Thread Georg Altmann
Fixed the Makefile to use install -m 600. Attached a patch (debdiff) against aiccu_20070115-9 ** Patch added: "aiccu_20070115-9ubuntu1.debdiff" http://launchpadlibrarian.net/38798380/aiccu_20070115-9ubuntu1.debdiff -- /etc/aiccu.conf world readable by default https://bugs.launchpad.net/bugs/

[Bug 515087] Re: /etc/aiccu.conf world readable by default

2010-02-04 Thread Marc Deslauriers
This is fixed in Lucid. Older releases are affected. ** Visibility changed to: Public ** Changed in: aiccu (Ubuntu) Status: New => Confirmed ** Changed in: aiccu (Ubuntu) Importance: Undecided => Medium -- /etc/aiccu.conf world readable by default https://bugs.launchpad.net/bugs/5150