FS#17554 - [python] /usr/lib/python2.6/Tools/scripts/README is executable
Attached to Project:
Arch Linux
Opened by Vinzent Steinberg (vks) - Sunday, 20 December 2009, 00:44 GMT
Last edited by Allan McRae (Allan) - Monday, 25 January 2010, 09:41 GMT
Opened by Vinzent Steinberg (vks) - Sunday, 20 December 2009, 00:44 GMT
Last edited by Allan McRae (Allan) - Monday, 25 January 2010, 09:41 GMT
|
Details
This sucks especially if you add the scripts to your
PATH.
How to reproduce: $ sudo pacman -S python $ ls -l /usr/lib/python2.6/Tools/scripts | grep README -rwxr-xr-x 1 root root 3551 27. Okt 07:26 README How to fix: $ chmod a-x /usr/lib/python2.6/Tools/scripts/README However, this should be really fixed in the PGKBUILD. |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 25 January 2010, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: python-2.6.4-2
Monday, 25 January 2010, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: python-2.6.4-2
install Tools/scripts/README ${pkgdir}/usr/lib/python${_pybasever}/Tools/scripts/
From man install:
-m, --mode=MODE
set permission mode (as in chmod), instead of rwxr-xr-x
This means that -m644 should be used in the PKGBUILD.
I also checked upstream's README and it was 644 so it is the PKGBUILD's fault.