Yiic Permission Denied error on Ubuntu/other Linux variants
07 Feb 2011To install Yii for the first time, the README suggests you should run the following command:
yiic webapp ..\testdrive
Unfortunately, for most users this will result in an error along the lines of “bash: ./yiic: Permission denied
” unless you first make yiic
executable.
The easiest way to do this is to run the following command in your framework directory:
chmod +x yiic
The x simply means “eXecutable”.