Log permissions problem?

Everyone,

Just completed install of RT and am attempting to start it up to log on.
Instead of being able to get to the interface, I get the following in my
Apache error_log:

[Wed Nov 14 13:31:42 2001] [notice] Apache/1.3.20 (Unix) mod_perl/1.26
configured – resuming normal operations
[Wed Nov 14 13:32:23 2001] [error] Can’t write to
’/var/log/rt2/rt.log.20324.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

The group rt does exist and does have write permissions to that directory.
The complete permissions are as follows:

drwxrwxr-x 2 root rt 4096 Nov 14 15:42 rt2/

In fact, I have a 0 byte file for each attempt of starting RT. All are are
identical (except for the number, of course) to the following:

-rw-r–r-- 1 root rt 0 Nov 14 15:39 rt.log.22753.0

I suspect the problem is related to the fact that the rt group only has read
permission on the file, but figured better to ask first since I have little
time to chase down blind alleys. Your help is appreciated.

Fred Homan
UNIX Systems Administrator
Syngenta Biotechnology, Inc.
Research Triangle Park, NC

So I suspect that you’re running into apache dropping permissions. you can
set up your apache processes to run as group rt, make the log dir writable
by apache’s default group orsomething similar.

-jOn Mon, Nov 19, 2001 at 06:42:52PM +0100, fred.homan@syngenta.com wrote:

Everyone,

Just completed install of RT and am attempting to start it up to log on.
Instead of being able to get to the interface, I get the following in my
Apache error_log:

[Wed Nov 14 13:31:42 2001] [notice] Apache/1.3.20 (Unix) mod_perl/1.26
configured – resuming normal operations
[Wed Nov 14 13:32:23 2001] [error] Can’t write to
‘/var/log/rt2/rt.log.20324.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

The group rt does exist and does have write permissions to that directory.
The complete permissions are as follows:

drwxrwxr-x 2 root rt 4096 Nov 14 15:42 rt2/

In fact, I have a 0 byte file for each attempt of starting RT. All are are
identical (except for the number, of course) to the following:

-rw-r–r-- 1 root rt 0 Nov 14 15:39 rt.log.22753.0

I suspect the problem is related to the fact that the rt group only has read
permission on the file, but figured better to ask first since I have little
time to chase down blind alleys. Your help is appreciated.

Fred Homan
UNIX Systems Administrator
Syngenta Biotechnology, Inc.
Research Triangle Park, NC


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.