[rt-users] cannot attach files to tickets via web interface

andys a.smith at ukgrid.net
Tue Oct 14 17:16:01 EDT 2008


Hi Matthew, 


  thanks for the mail. I have tried changing the home dir of www (and 
checked this is actually the user that apache is running as) and set the 
priveledges etc, restarted apache, logged out of and back into RT but I 
still see exactly the same problem :S 

thanks Andy. 

Matthew Seaman writes: 


> 
> 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 
> 



More information about the rt-users mailing list