Recently when we were testing development environment in Mac using CakePHP. We have encountered an interesting issue. We thought it is nice to post it here, in case any of you encounter the same problem. Hopefully this will help you.
We use "Eclipse for PHP Developers" plugin for development.
We followed this post to set up CakePHP properly on Mac.
When we try to use Cake Bake console from terminal(suppose our CakePHP project is "cake-test"), we encountered follow error message:
cake bake
/Applications/MAMP/htdocs/cake-test/cake/console/cake: Permission denied
At first, we thought this issue is caused by Mac file' permission, however even we set file permission to 777, the error still happens. Below is how we can solve the problem.
Hopefully this simple tip helped you with your development. If you like our post, please follow us on Twitter and help spread the word. We need your support to continue. If you have questions or find our mistakes in above tutorial, do leave a comment below to let us know.