Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#13539 closed Patch - Feature (fixed)

Feature patch - python bindings - remove errant executable bit from library file

Reported by: Gary Buhrmaster Owned by: Bill Meek
Priority: minor Milestone: 31.0
Component: Bindings - Python Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


Feature patch - python bindings - remove errant executable bit from library file.

Remove the execute bit from in the source code.  As a library file to be imported, it does not need to be executable. Indeed, the that is invoked as part of make install installs the file without the execute bit in my tests (typically into .../site-packages/).

The proposed patch removes the execute bit from the source file itself (no other library file in the bindings/python directory is set executable, only scripts which are intended to be installed as executable).

Really (really) trivial/low priority/severity source cleanup ticket (but ticket protocol says I should not set the priority/severity for new tickets, so it ends up being minor/medium, sorry).

Some history of the execute bit status on this file that I have researched:

6f13458f3e2947b884217057d3b741554d67fd2b - June 2010 - file originally added as non-executable

b5de4d167013b787cd024ea610f738440b7e2b67 - August 2010 - file executable (accidentally?) as part of a larger fix

d1da17e6bb322028c21acf02bf9cca139a60e5fa - September 2010 - removed the errant executable bit from the library file

774f0d3ee833039f42f368685a5360b98f55e801 - July 2011 - (contributed patch) added the executable bit back (accidentally?) as part of a larger patch series

Proposed patch:

diff --git a/mythtv/bindings/python/MythTV/ttvdb/ b/mythtv/bindings/python/MythTV/ttvdb/
old mode 100755
new mode 100644

Change History (2)

comment:1 Changed 3 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Resolution: fixed
Status: newclosed

In 8dce45294c/mythtv:

HTML/Python Tidy: Clean up various file modes/shebangs

Removes execute permissions where not needed and shebangs probably
left from testing. Based on three tickets.

Closes #13537
Closes #13539
Closes #13540

Signed-off-by: Bill Meek <billmeek@…>

comment:2 Changed 2 years ago by Stuart Auchterlonie

Milestone: needs_triage31.0
Note: See TracTickets for help on using tickets.