Extension:PageSecurity/Note for SE Linux users

From MediaWiki.org

Jump to: navigation, search

[edit] Note on patches for users of SE Linux

If you are running on SE Linux, applying the patches will break the context that lets MediaWiki read the files. If this happens to you, running the following command:

chcon "user_u:object_r:httpd_sys_content_t" <filename>.php -c

Where <filename> is the name of the patched file. For instance:

chcon "user_u:object_r:httpd_sys_content_t" Export.php -c
Personal tools