On Wed, Feb 17, 2010 at 11:30:24PM +0100, Jean-Christophe Dubacq wrote:
> Package: debhelper
> Version: 7.4.14
> Severity: minor
> 
> Scripts with shebang should be chmoded 0755 by default when installed,
> wherever they are (unless, maybe, to /usr/share/doc).
> 
> For example, scripts with shebang (#! /) (or #!/) put in /lib/udev or
> /usr/lib/ConsoleKit/run-seat.d should. Since a list of these places
> will be hard to come by, I think having a shebang should make you
> executable by default.

I note that there are some Python modules under
/usr/lib/python3/dist-packages which have a shebang line, even though
they should not be executable.  So if this is ever implemented, it
should be done with care.

It is probably the case, though, that the package itself should take
care of these special cases.

Best wishes,

   Julian

Reply via email to