linux 安装 magento 文件权限

linux 安装 magento 总是会有权限问题

进入magento根目录

执行如下设置权限的命令,magento即可以正常安装

# chmod o+w var var/.htaccess app/etc
# chmod -R o+w media
若在使用magento connect的时候提示权限报警,进入magento根目录执行如下命令
#find . -type d -exec chmod 777 {} \;

 

"If you have permissions to access SSH (secure shell) via putty/sftp you can chmod the files and directories. You can use the following commands from within the public_html (or similar) directory. For files use:
 find -type f -exec chmod 644 {} \;
and for directories use:
 find -type d -exec chmod 755 {} \; "