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

    本站内容均转载于互联网,并不代表本站立场!如若本站内容侵犯了原著者的合法权益,可联系我们进行处理! 拒绝任何人以任何形式在本站发表与中华人民共和国法律相抵触的言论!
    © 版权声明
    THE END
    喜欢就支持一下吧
    点赞654 分享
    评论 抢沙发

    请登录后发表评论

      暂无评论内容