Magento Connect: “Warning: Your Magento folder does not have sufficient write permissions.”

本文介绍了在 Linux Shell 终端中,如何使用 find 命令配合 chmod 来对 Magento 根目录下的文件与目录进行权限管理,包括设置文件与目录权限、设置特殊文件权限以及全局权限设置。如遇到权限设置错误,建议将部分目录权限设置为777作为应急措施。

Linux shell terminal magento根目录下执行如下命令:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod o+w var var/.htaccess app/etc
chmod 550 mage
chmod -R o+w media

如何还是有错误,可以尝试设置文件夹权限为777

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 777 {} \;
chmod o+w var/.htaccess
chmod 550 mage


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值