Hi Ivo,

doing a sponsoring review I find this:

On 2013-01-26 17:10, Ivo De Decker wrote:
> +    head -28 /etc/nut/nut.conf > /etc/nut/nut.conf.new && mv 
> /etc/nut/nut.conf.new /etc/nut/nut.conf

insecure tempfile, maybe file owner lost, maybe file permissions lost, ...

sed -i '29,$ d' /etc/nut/nut.conf

should do the same without introducing such problems


Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to