Error message in logs during cleanup

For some months now, I have had large numbers of errors such as this :-

[Mon Apr 27 07:06:32 2015] [warning]: (in cleanup) cannot chdir to /root
from /var/lib/request-tracker4/pKJWizMh2l: Permission denied, aborting. at
/usr/share/request-tracker4/lib/RT/EmailParser.pm line 618

Stack:
[/usr/share/perl/5.14/Carp.pm:79]
[/usr/share/perl/5.14/File/Path.pm:366]
[/usr/share/perl/5.14/File/Path.pm:254]
[/usr/share/request-tracker4/lib/RT/EmailParser.pm:618]
[/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61]
[/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61]
(/usr/share/request-tracker4/html/REST/1.0/NoAuth/mail-gateway:61)
[Mon Apr 27 07:06:32 2015] [warning]: cannot remove path when cwd is
/var/lib/request-tracker4/pKJWizMh2l for
/var/lib/request-tracker4/pKJWizMh2l: at /usr/share/perl/5.14/File/Temp.pm
line 902 (/usr/share/perl/5.14/Carp.pm:81)

I’m pretty sure they started after one of the Debian updates for one of the
SSL bugs, or certainly around that time.

I’ve looked at the config files and cannot find anything that relates to
this, so I am not sure how to go about rectifying it.

For the record, the directory permissions are :-

root@rta-01:/var/lib# ls -ld request-tracker4/
drwxr-s— 21536 www-data root 954368 Apr 28 12:27 request-tracker4/

Hope someone can shed some light on this for me.

Thanks
Gary

View this message in context: http://requesttracker.8502.n7.nabble.com/Error-message-in-logs-during-cleanup-tp59952.html