Click to See Complete Forum and Search --> : how to webserver used id


jeisma
05-04-2006, 11:17 PM
hi!

in my ubuntu 5.10 system, im trying to install an application, somewhere along the guide, i came across that says something like this:

"The "var" folder in the root installation MUST be able to be written to by your web server"

i guess it means the webserver must have read/write access to the folder. how do i know if the webserver has this privileges on the folder? how do i know the user id of the web server?

i do a cat /etc/passwd but it doesnt show apache or http.


thanks!

je_fro
05-05-2006, 07:02 AM
what install guide are you using?

cobraz
05-05-2006, 10:55 AM
Try: ls -l
This will shows the rights on the map (usaly: /var/www)
If the owner is ROOT.. DO:
chown -R www-data:www-data *

(Do this in the web dir)

jeisma
05-05-2006, 09:11 PM
what install guide are you using?

just a document management system built on lamp.

user-id is www-data indeed. thank you very much!