Magento Installation – Permission Issue

accessceinstallpermissions

I have try to install magento CE Version 1.9.0.1.But when i am trying to install magento from browser.it show permission issue :

Path "/var/www/html/magento/app/etc" must be writable.
Path "/var/www/html/magento/media" must be writable.
Path "/var/www/html/magento/media/downloadable" must be writable.
Path "/var/www/html/magento/media/xmlconnect" must be writable.
Path "/var/www/html/magento/media/xmlconnect/system" must be writable.
Path "/var/www/html/magento/media/xmlconnect/system/ok.gif" must be writable.
Path "/var/www/html/magento/media/xmlconnect/custom" must be writable.
Path "/var/www/html/magento/media/xmlconnect/custom/ok.gif" must be writable.
Path "/var/www/html/magento/media/xmlconnect/original" must be writable.
Path "/var/www/html/magento/media/xmlconnect/original/ok.gif" must be writable.
Path "/var/www/html/magento/media/dhl" must be writable.
Path "/var/www/html/magento/media/dhl/logo.jpg" must be writable.
Path "/var/www/html/magento/media/customer" must be writable.

I am using Fedora my Os System and was give permission 777 to /var/www/html

using chmod 777 -R /var/www/html and show same issue.
Can anyone help me ??

Best Answer

There are issue in Linux kernel security module (Security-Enhanced Linux (SELinux)) i.e SELinux permission issue.

http://en.wikipedia.org/wiki/Security-Enhanced_Linux

I have doing this by

chcon -R -t httpd_sys_rw_content_t /var/www/html/magento/
chmod -R a+w /var/www/html/magento/
Related Topic