Possible Duplicate:
What’s the best way of handling permissions for apache2’s user www-data in /var/www?
I am setting up my first server from scratch and as I am completely novice at this I am not sure if i am doing this right.
I have my web exposed folder at /var/www
and as I need to it accessible to everyone and writable by group and owner I set its permission to 774.
Is this how things are supposed to be set up or am I doing something terribly wrong?