Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610630 - =www-apps/mediawiki-1.27.1-r1 removes required execute permission on the SyntaxHighlight extension's pygmentize binary
Summary: =www-apps/mediawiki-1.27.1-r1 removes required execute permission on the Synt...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 02:10 UTC by smkbot
Modified: 2017-02-23 10:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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