假设ECMS安装目录为/home/wwwroot
如果是root用户 那么执行以下操作即可快速设置文件权限,其他目录只需更改下下即可,无需手工一个一个更改。
如果是root用户 那么执行以下操作即可快速设置文件权限,其他目录只需更改下下即可,无需手工一个一个更改。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| chmod 777 /home/wwwrootchmod 777 -R /home/wwwroot/dchmod 777 -R /home/wwwroot/schmod 777 -R /home/wwwroot/searchchmod 777 -R /home/wwwroot/index.htmlchmod 777 -R /home/wwwroot/htmlchmod 777 -R /home/wwwroot/e/admin/ebak/bdatachmod 777 -R /home/wwwroot/e/admin/ebak/zipchmod 777 -R /home/wwwroot/e/class/config.phpchmod 777 -R /home/wwwroot/e/class/user.phpchmod 777 -R /home/wwwroot/e/datachmod 777 -R /home/wwwroot/e/installchmod 777 -R /home/wwwroot/e/member/iframe/index.phpchmod 777 -R /home/wwwroot/e/member/login/loginjs.phpchmod 777 -R /home/wwwroot/e/pl/more/index.phpchmod 777 -R /home/wwwroot/e/sch/index.phpchmod 777 -R /home/wwwroot/e/tool/feedback/tempchmod 777 -R /home/wwwroot/e/tool/gbook/index.php |
没有评论:
发表评论