[Mediawiki-l] troubles with the math package.

W. w at slorg.com
Sat Sep 16 11:52:02 UTC 2006


hi,

i'm afraid the chcon command did not really work. all i got was:

     # chcon -R -h -t httpd_sys_content_t images
     chcon: can't apply partial context to unlabeled file images

after a bit of googling i found a solution which involves changing the 
options of disk mounts, but unfortunately as i don't have root access to the 
server it is not really applicable. ( 
http://www.fedoraforum.org/forum/printthread.php?t=44633 ) also on every 
page that had information about chcon, the name SELinux was present aswell. 
is it only used on systems with SELinux installed? I couldn't find any 
evidence of SELinux being installed in my system (tried `dmesg | grep 
selinux` and `find /etc | grep selinux` and got nothing on both of them)


thanks a lot.

w.


----- Original Message ----- 
From: "Andrea Forte" <andrea -.- forte =at = gmail -.-com>
Sent: Saturday, September 16, 2006 12:11 PM
Subject: Re: [Mediawiki-l] troubles with the math package.


> This sounds a lot like the problem that I was having with imageMagick.
> Apparently, there's something called context that limits what apache
> has permission to do that is separate from standard permissions. (So,
> even though something is chmod'd to 777, as OWNED by apache and in the
> group apache, apache still can't touch it.)
>
> You can make sure that all the directories that apache needs to
> maipulate are labeled with a context that apache can read by issing
> the following command in the root directory for your wiki:
>
> chcon -R -h -t httpd_sys_content_t <directoryname>
>
> (What I ended up doing comes from the httpd section on this page:
> http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/as-zseries/)
>
> hope this helps
> Andrea
> 



More information about the MediaWiki-l mailing list