I often struggle to get the file permissions set up correctly in Linux, especially in a web server setup.
However I think I've finally stumbled upon the magic incantations to make it all work...
chown -R [group]:[group] /path/to/folder
chmod -R g+rwx /path/to/folder