Re: [PATCH 001 of 2] Fix read/truncate race.

From: Andrew Morton
Date: Mon Jun 11 2007 - 20:35:36 EST


On Tue, 12 Jun 2007 10:16:22 +1000 Neil Brown <neilb@xxxxxxx> wrote:

> > please consider incorporating scripts/checkpatch.pl into your patch
> > preparation toolchain.
>
> Done... Any reason that it isn't executable (chmod +x)?

It is executable now (Linus did a chmod).

However I think it was wrong to do this. Because lots of people will lose
that X bit (say, people who download and use patch-2.6.22.gz). But _some_
people will have their X bit set, so they will go write scripts which
assume X permissions, only to find that those scripts break on other
people's systems.

So to force the lowest-common-denominator, we should have left X unset. Oh
well.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/