Directory permissions on install rt-3.0.11

Hi!

I’ve just install rt-3.0.11 from FreeBSD port. All was fine, but
logging to file didn’t work.

Request Tracker Wiki says the directory
<rt_home>/var/log must be owned by apache process. Chown this
directory to www (owner of apache process in FreeBSD) worked fine.

Who should fixperms to that directory: FreeBSD-ports team for
FreeBSD users or RT3-team for all platforms?

WBR
bsam

Boris B. Samorodov wrote:

Hi!

I’ve just install rt-3.0.11 from FreeBSD port. All was fine, but
logging to file didn’t work.
It works. the only thing: file doesn’t exists by default.

Request Tracker Wiki says the directory
<rt_home>/var/log must be owned by apache process. Chown this
directory to www (owner of apache process in FreeBSD) worked fine.
It doesn’t say that. It say that you should create file and give
ownership to apache on this file.

I’ve just install rt-3.0.11 from FreeBSD port. All was fine, but
logging to file didn’t work.
It works. the only thing: file doesn’t exists by default.

Request Tracker Wiki says the directory
<rt_home>/var/log must be owned by apache process. Chown this
directory to www (owner of apache process in FreeBSD) worked fine.
It doesn’t say that. It say that you should create file and give
ownership to apache on this file.

Yes, you are write. Then is it possible to patch the config file
(to give users some more info):
— start —
— RT_Config.pm.orig Wed Jun 23 11:32:48 2004
+++ RT_Config.pm Wed Jun 23 11:36:21 2004
@@ -246,6 +246,8 @@
Set($LogToFile , undef);
Set($LogDir, ‘/usr/local/rt3/var/log’);
Set($LogToFileNamed , “rt.log”); #log to rt.log

  •                                #make sure to create (touch it) and
    
  •                                #chown to <apache_group>:<apache_user>
    

On Solaris, set to ( socket => ‘inet’ ). Options here override any

other options RT passes to Log::Dispatch::Syslog. Other interesting

— stop —

WBR
bsam