[rt-users] Multiple attachments error

Ian Trenfield ian.trenfield at googlemail.com
Tue Feb 17 16:15:52 EST 2009


Hi,
I've seen this question asked before, but have not seen a definitive
reply yet so thought it worth asking again.

We have an intermittent issue regarding attachments, and it seems to
happen more often when users are including multiple attachments. The
error message is as follows:

read-open /tmp/husk4zilgH : No such file or directory at
/usr/share/perl5/MIME/Body.pm line 435.

We're running RT 3.6 on an Ubuntu server. The /tmp folder is owned by
the correct user and permissions are 700.

As I say this appears to happen more when there are multiple
attachments involved, it also appears to happen more when the system
is generally
busier (as I can't get it to fail at all out of hours). As a result,
I'm wondering whether RT is uploading a file into /tmp which is then
being overwritten and deleted by somebody else's upload. That would
explain why it happens more for multiple attachments, as it's
generally longer between the first upload and submit. However, I can't
be sure.

Is there a workaround to this? If not, as a last resort, is it
possible, with an RT or Perl modification, to set the temporary
filename used to be a random 20 character
string rather than a random 10 character string (assuming that the
overwriting theory is correct)? We'd like to do everything possible to
fix this issue with the currently installed version rather than an
upgrade, due to the various customisation we have in place.

Any help would be gratefully appreciated,

Ian



More information about the rt-users mailing list