Re: install.c: please set unlink_dest_before_opening=false
From:
Paul Eggert
Subject:
Re: install.c: please set unlink_dest_before_opening=false
Date:
Wed, 28 Feb 2007 16:42:51 -0800
User-agent:
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
> I think his point is that the cracker managed to keep a setuid link to her
> target binary in the system despite that administrator had attempted to
> replace it.
Ah, thanks, yes, that explains it. That is a good argument for having
the default be to not break destination hard links.
Not breaking links has the disadvantage that the installed file is
temporarily not executable, but the current code already has that
problem.