Re: .py* permissions opinions?

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

 



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

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux