[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#368792: script-not-executable false positives



Peter Eisentraut wrote:
> Package: lintian
> Version: 1.23.21
> Severity: normal
> 
> The check script-not-executable apparently thinks that everything that
> starts with #! should be executable, which is far from true.  A lot of,
> say, python or php scripts are installed somewhere under /usr/share
> and carry that #! for documentation value or just for no reason at all,
> but it's there.
> 
> Perhaps that check should be restricted to scripts that are installed in
> program directories such as /usr/bin.
> 

Maybe it's just me, but I think that if a file carries the #! at the
beginning and it is not meant to be executed directly, then that is a
bug.  It is minor, but still a bug.  I don't know about PHP, but Python
modules can absolutely go without a #! at the start.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: