On Sun, 2006-09-17 at 21:42 -0400, Warren Togami wrote:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206877
>
> E: bzr-gtk non-executable-script
> /usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/__init__.py 0644
>
> Do these scripts that are not meant to be run directly really need to
> have executable permissions?
If it's not meant to be run directly I'd say executable permission is
not needed.
Usually the reason for this warning when the file is inside of
%{pythonsitelib} is because there's a #!/usr/bin/python shebang in the
file. If there's a test inside or other script that could be executed
by someone other than the enduser then it makes sense to ignore the
rpmlint warning. If there's no test or other code that can be run by
executing this on the commandline then removing the shebang is the most
proper.
-Toshio
Attachment:
signature.asc
Description: This is a digitally signed message part