'apache' user


#1

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?


#2

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
apache group):
bin/webmux.pl Line 95

chown ( [getpwnam(‘apache’)]->[2], [getgrnam(‘apache’)]->[2],
($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
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


#3

Best thing to do would be to download the latest version , 1.3.80 , edit your makefile, backup your rt2/etc/config.pm, and make upgrade.
Be sure to set the www user to apache in your Makefile

-Feargal.

_/_/_/ _/_/_/  _/_/_/  Feargal Reilly,

_/ _/ / / Systems Administrator,
/ / //// The Communications Interactive Agency.
//
/ //
/ _/ _/ Phone: +353-86-8732249.

 I've just upgraded my box from RedHat 6.2 to 7.1. The Apache upgrade chang
 ed
 the running user from 'nobody' to 'apache'. Now I'm getting (quite pretty)
 Mason errors related to permissions. I've started manually fixing things t
 o
 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
 rt-users@lists.fsck.com
 http://lists.fsck.com/mailman/listinfo/rt-users