Mason needs to store it’s session and data information in directories
that are owned by nobody with permission 700.
Go into the WebRT directory and chown the directories to apache.
I used the apache user and the following was executed from the make
install (the very last step actually):
chown -R apache /usr/local/rt2/WebRT/data /usr/local/rt2/WebRT/sessiondata
Also bin/webmux.pl seems to change something to the apache user (and
bin/webmux.pl Line 95
chown ( [getpwnam(‘apache’)]->, [getgrnam(‘apache’)]->,
($RT::MasonSessionDir, $interp->files_written) );
Hopefully this will be it - if not, changing the Makefile and reinstalling
should work. (I kept the output of the make install and all it does with
the WEB_USER and WEB_GROUP is the chown above and substituting the
variables !!WEB_USER!! and !!WEB_GROUP!! in all the files with the values
from the makefile - doing a grep through all the sources should tell you
which files they were)
jonOn Fri, 25 May 2001, Steele, David S. wrote:
I’ve just upgraded my box from RedHat 6.2 to 7.1. The Apache upgrade changed
the running user from ‘nobody’ to ‘apache’. Now I’m getting (quite pretty)
Mason errors related to permissions. I’ve started manually fixing things to
make the errors go away, but that is starting to look ugly.
What is the right way to fix this? Will reinstalling RT (1.3.70) take care
of this automatically?
rt-users mailing list