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
Magento Connect: “Warning: Your Magento folder does not have sufficient write permissions.”
最新推荐文章于 2025-12-03 23:19:21 发布
本文介绍了在 Linux Shell 终端中,如何使用 find 命令配合 chmod 来对 Magento 根目录下的文件与目录进行权限管理,包括设置文件与目录权限、设置特殊文件权限以及全局权限设置。如遇到权限设置错误,建议将部分目录权限设置为777作为应急措施。
2073

被折叠的 条评论
为什么被折叠?



