Skip to contentSkip to conversation

make all Python scripts executable

PATCH In review Paolo Bonzini 2 participants 2 messages Feb 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make all Python scripts executable

Scripts that have a Python shebang are meant to be executed directly from the shell; give them 755 permissions.

Based-on: <[email protected]>

Cc Philippe Mathieu-Daudé <[email protected]>
---
 scripts/minikconf.py   | 0
 scripts/signrom.py     | 0
 tests/qemu-iotests/222 | 0
 tests/qemu-iotests/245 | 0
 4 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 scripts/minikconf.py
 mode change 100644 => 100755 scripts/signrom.py
 mode change 100644 => 100755 tests/qemu-iotests/222
 mode change 100644 => 100755 tests/qemu-iotests/245
scripts/minikconf.py +0 -0
old mode 100644
new mode 100755
scripts/signrom.py +0 -0
old mode 100644
new mode 100755
tests/qemu-iotests/222 +0 -0
old mode 100644
new mode 100755
tests/qemu-iotests/245 +0 -0
old mode 100644
new mode 100755
Signature · 1 line
2.21.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Paolo Bonzini

Scripts that have a Python shebang are meant to be executed directly from the shell; give them 755 permissions.

Ah I should have done the chmod in my "Explicit usage of Python 3 (scripts with __main__)" patches, but I would have missed scripts/signrom.py and tests/qemu-iotests/222.

tests/qemu-iotests/245

Quoted 27 lines

Based-on: <[email protected]>

Cc Philippe Mathieu-Daudé <[email protected]>
---
  scripts/minikconf.py   | 0
  scripts/signrom.py     | 0
  tests/qemu-iotests/222 | 0
  tests/qemu-iotests/245 | 0
  4 files changed, 0 insertions(+), 0 deletions(-)

mode change 100644 => 100755 scripts/minikconf.py mode change 100644 => 100755 scripts/signrom.py mode change 100644 => 100755 tests/qemu-iotests/222 mode change 100644 => 100755 tests/qemu-iotests/245

scripts/minikconf.py +0 -0
old mode 100644
new mode 100755
scripts/signrom.py +0 -0
old mode 100644
new mode 100755
tests/qemu-iotests/222 +0 -0
old mode 100644
new mode 100755
tests/qemu-iotests/245 +0 -0
old mode 100644
new mode 100755

Thanks, patch applied to my python-next tree:
https://gitlab.com/philmd/qemu/commits/python-next