lkml.org 
[lkml]   [2023]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: git source files with rw permissions
On Fri, Jan 27, 2023 at 8:06 PM Joe Perches <joe@perches.com> 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

\
 
 \ /
  Last update: 2023-03-27 00:00    [W:0.077 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site