警告:您的 Magento 文件夹没有足够的写入权限 [英] Warning: Your Magento folder does not have sufficient write permissions

查看:31
本文介绍了警告:您的 Magento 文件夹没有足够的写入权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Magento 的新手,我正在尝试通过 magento 连接管理器安装主题,我复制并粘贴扩展密钥,然后单击安装,然后继续.我收到错误警告:您的 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商店的正常运行或安装,只需要2个文件夹是可写的:

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 文件夹没有足够的写入权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆