Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 610630

Summary: =www-apps/mediawiki-1.27.1-r1 removes required execute permission on the SyntaxHighlight extension's pygmentize binary
Product: Gentoo Linux Reporter: smkbot
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description smkbot 2017-02-23 02:10:23 UTC
MediaWiki ships with an extension called SyntaxHighlight ( https://www.mediawiki.org/wiki/Extension:SyntaxHighlight ) that uses Pygments to perform syntax highlighting. This extension contains a binary called pygmentize that must have executable permissions in order to work, but pygmentize is installed with mode 0644 (no execute permission) by the www-apps/mediawiki package.

Steps to reproduce:

1. emerge www-apps/mediawiki
2. stat /var/www/localhost/htdocs/mediawiki/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize

Expected result:

Mode 0755

Actual result:

Mode 0644