In general you would want the apache user to own the web server folders. In your case, you want to do something like:

cd /var/www
chown www-data:www-data -R ./*
chmod 644 -R ./*

This will change the ownership of all files under /var/www to User:www-data and Group:www-data, and set the permissions to rw-r--r-- (you should avoid execute (x) permissions in webserver folders where possibly).

Hope that helps,

Paul

ludo1960@lycos.co.uk wrote:
Hello Bitfolkers,

Back to my 503 error, I wrote to the domain module creator http://drupal.org/node/330563 and the only thing I can come up with (after checking my Drupal permissions is the Ownership of my Server root. At the moment
it is User:root Group:root  that doesn't sound right to me. I also have the user www-data in Group www-data (from apache I presume) that has the home directory of /var/www (server root) Could confusion over the Ownership of the /var/www directory be causing me poblems? The last time I tried altering Users and Ownerships I fried my server, thought best I should ask before I start mucking about again!

These are my suspicions, it will be interesting to see if I am correct or barking up the wrong tree..again!!

Cheers,

Cliff..


_______________________________________________ users mailing list users@lists.bitfolk.com http://lists.bitfolk.com/mailman/listinfo/users