帝国cms写入权限linux,Linux系统下安装帝国CMS快捷设置文件权限

假设ECMS安装目录为/home/wwwroot

如果是root用户 那么执行以下操作即可快速设置文件权限,其他目录只需更改下下即可,无需手工一个一个更改。

chmod 777 /home/wwwroot

chmod 777 -R /home/wwwroot/d

chmod 777 -R /home/wwwroot/s

chmod 777 -R /home/wwwroot/search

chmod 777 -R /home/wwwroot/index.html

chmod 777 -R /home/wwwroot/html

chmod 777 -R /home/wwwroot/e/admin/ebak/bdata

chmod 777 -R /home/wwwroot/e/admin/ebak/zip

chmod 777 -R /home/wwwroot/e/class/config.php

chmod 777 -R /home/wwwroot/e/class/user.php

chmod 777 -R /home/wwwroot/e/data

chmod 777 -R /home/wwwroot/e/install

chmod 777 -R /home/wwwroot/e/member/iframe/index.php

chmod 777 -R /home/wwwroot/e/member/login/loginjs.php

chmod 777 -R /home/wwwroot/e/pl/more/index.php

chmod 777 -R /home/wwwroot/e/sch/index.php

chmod 777 -R /home/wwwroot/e/tool/feedback/temp

chmod 777 -R /home/wwwroot/e/tool/gbook/index.php

免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。

原文链接:https://blog.csdn.net/weixin_39781326/article/details/116823802?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522166669233216782414937888%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=166669233216782414937888&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-8-116823802-null-null.nonecase&utm_term=%E5%B8%9D%E5%9B%BDcms