How to resolve mkdir (permission denied) issue on fedora when running Yii Framework

Make sure that you issue the following commands

Example below from my dev enviroment

[root@ami basic]# chmod 0750 -R /var/www/html/
[root@ami basic]# chcon -R -t httpd_sys_content_t /var/www/html/
[root@ami basic]# chcon -R -t httpd_sys_content_rw_t /var/www/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s