On Sun, Nov 11, 2012 at 22:42:09 +0100, Laurent Bigonville wrote:
> Le Sun, 11 Nov 2012 19:06:52 +0100,
> Julien Cristau <
jcristau@debian.org> a écrit :
>
> > One more question...
> >
> > On Mon, Aug 13, 2012 at 15:36:14 +0200, Laurent Bigonville wrote:
> >
> > > + for file in nut.conf upsmon.conf upssched.conf ; do
> > > + if [ -f /etc/nut/$file ] ; then
> > > + chown root:nut /etc/nut/$file
> > > + chmod 640 /etc/nut/$file
> > > + fi
> > > + done
> >
> > why is this is done unconditionally on postinst configure, instead of
> > just on first install?
>
> These files could contains passwords, I guess that this is done to be
> really sure the files are not world readable? Arnaud?
>