问题描述
我是Magento的新手,我试图通过magento connect manager安装主题,我复制并粘贴扩展密钥,然后单击安装",然后继续.我收到错误消息警告:您的Magento文件夹没有足够的写入权限.'
I am new to Magento, I am trying to install a theme via magento connect manager, I copy and paste the extension key then click install and then proceed.I get error 'Warning: Your Magento folder does not have sufficient write permissions.'
请提供一些解决方案.任何帮助将不胜感激.
please give some solution .Any help would be highly appreciated.
推荐答案
转到Magento主目录,并仅授予您的Webroot权限.
go to Magento home directory and just give permissions for your webroot.
e.g. (in ubuntu) : sudo chown -R www-data .
您还可以更改权限
chmod 777 -R downloader/*
希望对您有帮助.
在您的magento目录中如何操作(如果需要,请对以下命令使用sudo
.)
How about in your magento directory (use sudo
for below commands if required.):
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;
对于Magento商店的正常运行或安装,仅需要写入两个文件夹:
For the normal operation or installation of a Magento store, only 2 folders need to be writable:
/media - for web accessible files, such as product images
/var - for temporary (cache, session) and import/export files
这篇关于警告:您的Magento文件夹没有足够的写权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!