Re: git source files with rw permissions
From: Linus Torvalds
Date: Sat Jan 28 2023 - 14:32:20 EST
On Fri, Jan 27, 2023 at 8:06 PM Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> fyi: there's one more straggler:
And I think there's one more.
Here's another one-liner shell script for finding suspicious files:
git ls-files -s |
grep '^100755' | cut -f2 |
xargs grep -L '^#!'
and I don't think 'scripts/atomic/atomics.tbl' should be in that set.
At least that file has a reasonable explanation for why it's
executable - over-eager "mark all these scripts executable" without
noticing that one of the files in question was just the input file to
another script.
Linus