Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS
From: Joe Perches
Date: Tue Oct 13 2020 - 11:27:15 EST
On Tue, 2020-10-13 at 17:43 +0530, Ujjwal Kumar wrote:
> Consider the following case:
> a python script file with '.py' filename extension but without
> a shebang line. Would it be meaningful to allow execute permission
> on such a file?
More the question I think is for a patch to
that file, how do you tell if it has one?