[rt-users] RT Couldn't write to session directory

David Turner dturner at biochem.wisc.edu
Mon Nov 12 15:59:29 EST 2001


Looking through the archives, I've seen the posts about this problem 
before.  Here is the error message I'm getting:

[Mon Nov 12 15:15:53 2001] [error] RT Couldn't write to session 
directory '/usr/
local/rt2/WebRT/sessiondata'. Check that this directory's permissions 
are correc
t. at /usr/local/rt2/bin/webmux.pl line 152.

This is a fresh installation on a RH7.1/apache machine.  The WEB_USER 
and WEB_GROUP are both set to apache (which is the user that runs httpd).

Now here is a question, this is what the session directory looks like:

[dturner at ribosome sessiondata]# ls -al
total 20
drwxrwx---    2 apache   apache      16384 Nov 12 14:54 .
drwxr-xr-x    5 root     root         4096 Oct 30 11:01 ..
-rwxr-xr-x    1 apache   apache          0 Nov 12 14:40 
Apache-Session-aab789cced4b671f900396bd154156de.lock
-rw-------    1 apache   apache          0 Nov 12 14:54 
Apache-Session-dc935be4d92170b61e743cef3f5d4361.lock

You'll notice two different sets of permission, the one on top is what 
"make fixperms" set it to, and the one on the bottom is what it is 
normally.  Does this mean that apache is not using the right umask?  
What should the permissions for the .lock files be?  Thank you

David Turner





More information about the rt-users mailing list