Magento安装权限问题

时间:2014-06-10 04:31:58

标签: magento permissions installation fedora

我正在使用Fedora我的Os系统,并获得了对/ var / www / html的许可777。

我尝试安装magento CE版本1.9.0.1。但是当我尝试从browser.it显示权限问题安装magento时

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.

使用chmod 777 - R /var/www/html and show same issue。我想,it can be user permission issue at /var/www/html/magento/任何人都可以帮助我吗?

2 个答案:

答案 0 :(得分:19)

可能您的SELinux权限存在问题。你应该试试这个:

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

答案 1 :(得分:-6)

尝试

chmod -R 777 / var / www / html / magento

chmod -R 777 / var / www / html / magento / *