Re: Rationale behind script-not-executable lintian warning
- To: Debian Lintian Maintainers <lintian-maint@debian.org>
- Cc: debian-mentors@lists.debian.org
- Subject: Re: Rationale behind script-not-executable lintian warning
- From: Frank Küster <frank@debian.org>
- Date: Fri, 23 Dec 2005 14:59:19 +0100
- Message-id: <[🔎] 863bkjoqx4.fsf@alhambra.kuesterei.ch>
- In-reply-to: <200512231349.33585.cobaco@linux.be> (cobaco@linux.be's message of "Fri, 23 Dec 2005 13:49:29 +0100")
- References: <8664pi9z60.fsf@alhambra.kuesterei.ch> <20051222204028.GE16558@benfinney.id.au> <86hd909ner.fsf@alhambra.kuesterei.ch> <200512231349.33585.cobaco@linux.be>
"cobaco (aka Bart Cornelis)" <cobaco@linux.be> wrote:
> On Friday 23 December 2005 10:24, Frank Küster wrote:
>
>> The fact that the script is not in the path isn't enough for you here?
>> And don't you think that anyone who knows that a shebang lines indicates
>> executability from the command line
>
> shebang line does _not_ indicate executability, it's the magic number that
> indicates it's a script instead of machine code (see e.g
> http://foldoc.org/?shebang)
>
> if it's meant to be executable it should have the executable bit set, this
> is unrelated from the shebang line (if not what do you do with a script
> that's executable for the owner but not for anyone else? automatically
> remove the shebang depending on who opens it?)
You are right, but this makes me doubt even more whether having a
non-executable file with a shebang line is a bug, because this
information is also interesting for human beings.
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: