« 山口県産みかんジュース(ストレート果汁) 1L×6本 | トップページ | 失踪日記 »
MediaWikiから、ImageMagickを呼び出そうとすると、convert: unable to open image filename.jpg : Permission denied とか言われて、ファイルが読み込めない。
原因は、SELinuxにあるんだけど、解決策としては以下のページ。
正しいのかどうかは、良く分からん。
http://codex.gallery2.org/Gallery2:Installation_on_a_SELinux_Server
1. Reach the SELinux policy source directory:cd /etc/selinux/targeted/src/policy
2. Edit the local.te file:
vi domains/misc/local.te
3. Then add:
allow httpd_sys_script_t httpd_tmp_t:file { getattr read };
4. And finally, apply the modifications:
make load
2007 05 04 | 固定リンク
この記事のトラックバックURL:
この記事へのトラックバック一覧です: SELinux良く分からん: