[rt-users] directory permissions on install rt-3.0.11

Boris B. Samorodov bsam at ipt.ru
Wed Jun 23 05:17:48 EDT 2004


On Tue, Jun 22, 2004 at 10:26:25PM +0400, Ruslan U. Zakirov wrote:

> >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.

> >http://wiki.bestpractical.com/index.cgi?Debug 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



More information about the rt-users mailing list