That seems to be a quicker solution to the one i found. If i'm installing wordpress into the root of a domain, eg: domain.com/ would i chown the domain.com folder or the www folder?
Chown the folder that holds the index.php for Wordpress (the -R flag will get all the subfolders as well). So if you use:
/home/public_html/domain1.com/www
And your wordpress install is:
/home/public_html/domain1.com/www/index.php
You would chown the "www" folder.