I know this is a question related to permission. The only thing I have changed in my environment is that I upgrade to Yosemite, I check apache everything is working fine.
This question has been asked in here and in others. I checked every possible solution. Here is what I have done:
Change the permission in every possible way even to 777 in local environment. It still gives the error
Change the apache user to my username and staff group, and make sure I have the set the right user and group
Clear the cache every time that I make a change
Use drush to flush the image as recommended in here
I have uploaded my site to a ubuntu server. It generates the files perfectly there without any trouble. Any ideas what it is happening in my local machine that it is not generating the styles folder and give an access denied error? I can upload files btw, it is just not able to create the folder styles and its files.