1. cliveportman
  2. /code
  3. /file-permissions-chmod-apache-and-craft-cms

File permissions, chmod, Apache and Craft CMS

To give Apache access to creating folders within Craft CMS:

find /Users/username/whatever -type d -exec chmod 777 {} \;

For files:

find /Users/username/whatever -type f -exec chmod 644 {} \;

Great thing about this is it finds all files and directories within that folder. Note that 777 isn't ideal, but nothing else seemed to work for me.

Original source