On Wed, Nov 19, 2014 at 04:41:39PM +0100, Anselm R Garbe wrote: > On 18 November 2014 19:25, Greg Reagle <greg.rea...@umbc.edu> wrote: > > Hello. Is there a particular reason that a combination of cp, mkdir, > > and chmod are used rather than the install command, in several suckless > > projects (in the install target of Makefile)? > > To me the answer is rather obvious. install violates the Unix > principle, because it does too many things, that are achieved already > by cp, mkdir, chmod, etc.
The problem with this is that it obviously has race conditions which might or might not be security relevant. Getting a file descriptor and then performing the desired operations doesn't sound like such a bad idea ... -- Marc André Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0