Ran into a bijou little buglet today.

On FreeBSD the UID that apache runs under, www, has a home directory
set to /nonexistent by default -- which as the name implies is a non-existent
directory.

Unfortunately this screws up being able to upload files into RT.  Any attempt
to do that results in a blank screen and the following messages in the log file:

Mar 20 13:28:54 splenetic RT: CGI open of tmpfile: No such file or directory 
(/usr/local/rt3/bin/webmux.pl:127)  
Mar 20 13:28:54 splenetic kernel: Mar 20 13:28:54 splenetic RT: CGI open of 
tmpfile: No such file or directory (/usr/local/rt3/bin/webmux.pl:127)  

This appears to be the result of the CGI.pm module trying to open ~www/.tmp 
which of course doesn't exist.  The docco says that in that case, various 
standard
locations like /usr/tmp or /var/tmp will be tried in sequence until a usable 
location
is found: however, this doesn't happen and RT hangs.  I think this is a bug.

Workaround is to change the www home dir to an existing (albeit unwritable)
directory.

        Cheers,

        Matthew

-- 
Dr Matthew Seaman                        The Bunker, Ash Radar Station
PGP: 0x60AE908C on servers               Marshborough Rd
Tel: +44 1304 814890                     Sandwich
Fax: +44 1304 814899                     Kent, CT13 0PL, UK 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to