I have to change the permissions of the htdocs directory in apache to a certain group and with certain read/write/execute.
htdocs
The directories need to have 775
try:
find htdocs -type d -exec chmod 775 {} +