Blog tutorial Permission denied

I just installed Yii on my Mac today and started the blog tutorial, placing the file in my webroots directory. I then, following the instructions, tried to view the requirements/index.php in my web browser and got Permission denied in Unknown on line 0, and a Fatal error.

Anyone else have this problem and/or have any suggestions how to remedy it?

I also tried to reach the YIIC doc through the command line and the permissions were again denied. Any help would be greatly appreciated.

I had to update file permissions in order to get Yii working on my Mac. In fact, prior to doing so, the requirements test and skeleton app wouldn’t run at all - just showed a blank page. It is likely that you need to do something like the following. You may also need to do this elsewhere in your webapp too.


chmod -R a+r yiiroot[/b]