Run ulimit4.sh using /bin/bash to avoid noexec
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 18 Aug 2010 23:20:56 +0000 (23:20 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 18 Aug 2010 23:20:56 +0000 (23:20 +0000)
commit9064ec1bd38dedbacab157d3d4841e3315b5e5d9
treef89e97d46184d45b2f8ccce82695fa2c44d9a4ec
parent31a57225522d6c58b0ace248505407178a1fcc92
Run ulimit4.sh using /bin/bash to avoid noexec

Panora200 on IRC reported the error "/bin/bash: bad interpreter:
Permission denied", which we tracked down to the fact that /var/www (or
whatever) was mounted noexec.  Prepending '/bin/bash ' to the command
line should fix it.  Not heavily tested -- I only checked that
wfShellExec() seemed to work from eval.php for trivial uses.
RELEASE-NOTES
includes/GlobalFunctions.php