Re: .py* permissions opinions?

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

 



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?
> 
> Opinions?

I'm not a Python guru or anything, but I agree that since they do not execute on
their own (merely imported from another module or script), then they do not need
to be executable. Though, you should keep them world-readable! ;)

The file in question most likely has a shebang header ("#!/usr/bin/python -tt",
for example). Thus, rpmlint thinks it is a script due to that and hence the
complaint about it not being executable.

From my perspective, that is probably safe to ignore...
-- 
Peter Gordon (codergeek42)
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
My Blog: http://thecodergeek.com/blog/

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
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