[rt-users] Permissions on RT Config files

Jesse Vincent jesse at bestpractical.com
Fri Sep 26 07:39:49 EDT 2003


On Fri, Sep 26, 2003 at 09:04:52PM +1200, Dave Brooks, BCS Systems wrote:
> At 20:37 26/09/2003, Harald Wagener wrote:
> On Thu, Sep 25, 2003 at 09:36:16PM +1200, Dave Brooks, BCS Systems wrote:
> >>> The '-f' test in RT.pm was finding the file, however the 'require' was
> >>> failing. Setting world read permissions fixed things.
> >>[snip]
> >>> Can anyone offer an explanation? Apache is running as nobody/nobody.
> >>
> >>
> >>What are the right settings? What should I be checking?
> >
> >You could see if a 'make fixperms' in the rt installation directory helps. 
> >This checks all the files and permissions and should set them accordingly.
> 
> This does:
> 
> chown -R root //usr/local/rt3/etc
> chgrp -R rt //usr/local/rt3/etc
> chmod 0550 //usr/local/rt3/etc/RT_Config.pm
> chmod 0550 //usr/local/rt3/etc/RT_SiteConfig.pm
> 
> which means that RT.pm won't be able to read the files when running as 
> 'nobody'. Is this intended? Shouldn't it be set to 0555 ??

Generally, when apache starts up and requires the file, it's still
running as a privileged user, iirc.

> 
> Thanks,
> 
> Dave
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list