Permission Denied RTIR

Hello guys,
I get the error Permission Denied while Launching an Investigation/Countermeasures for an Incident on RTIR v 5.0.1. Below is the exact error:


The file Permission is in conjunction with the rest of the files:

> ls -l /opt/rt5/share/html/Elements/Error
-rw-r--r--. 1 apache apache 2808 Nov 18 08:50 /opt/rt5/share/html/Elements/Error

The particular Line, 78 throwing the error has below content:

$RT::Logger->error( $error );

Not really sure the logger is logging to what file, any help would wighly be appreciated.

Is there more to the error? You’re seeing this in the web UI?

Thats all from logs, both httpd and rt logs. Yes on Browser it throws Permission Denied Error and nothing more
Below are steps taken


Does your current user have the CreateTicket right for the queue you’re trying to create a ticket in?

Yes, User has correct queue permisions

Is the ticket created? Maybe your user can’t view the newly created ticket

Found a solution, the Queues Investigations and the rest were disabled. So the issue was it could not find them
Thank you for engaging me.

Perhaps the logging can be improved to show an explicit message, something like the queue does not exist/is disabled.

Was there something in the web server logs that said the real issue?

Server logs, this was the error

[1001046] [Fri Nov 18 09:23:49 2022] [error]: Permission Denied (/opt/rt5/share/html/Elements/Error:78)
[1001416] [Fri Nov 18 09:24:35 2022] [error]: Permission Denied (/opt/rt5/share/html/Elements/Error:78)

RT Log


Thats surprising maybe debug log level would have had more info

Debug is actually enabled

Yeah seems you’re right, that is a good PR to create!