andys wrote:
Hi,

Im using the FreeBSD port RT version 3.6.7 and I cannot get it to attach files to replies etc to tickets. I also had the problem with versoin 3.6.6. Apparently this was working previously, the only thing that I can think that has changed is that we now use SSL (but Im not aware this has broken anything else). What Im seeing is:
If Im viewing a ticket and click reply
Then I click "browse" for attaching a file
Select a file on my local PC
now click "update" for the ticket, it breaks, it shows as the URL: https://www.myserver.com/Ticket/Update.html and a blank page. Any ideas??
thanks for any help, Andy.

Yes.  this is because the home directory of www, the UID the web server
runs under has /nonexistent as a home directory (for security reasons).  Simply 
modify the www account so it has a real home directory.  I can't
remember off hand if the www user needs any special privileges over the
home dir -- I don't think it does, in which case, /var/empty is a good
choice and still preserves at least of modicum of security:

  # pw user mod -n www -d /var/empty

If that doesn't work then try creating /home/www and see what the minimum privileges are. Leave the shell as /usr/sbin/nologin.

        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