开发者社区> 问答> 正文

求解Linux服务器网站根据实现所有文件777权限的命令

求解Linux 服务器网站根据实现所有文件777权限的命令

展开
收起
opensu 2012-09-01 23:59:24 9788 0
7 条回答
写回答
取消 提交回答
  • 回 6楼(zhengweisk) 的帖子
    正解,如果安装网站,可以在没有权限的文件上单独执行,比如没有执行权限,chmod  x aaa
    2012-09-03 09:41:37
    赞同 展开评论 打赏
  • 这样相当的不安全。
    2012-09-02 20:41:54
    赞同 展开评论 打赏
  • 如果不会看下这个教程 http://bbs.very90.com/thread-15456-1-1.html
    2012-09-02 07:08:26
    赞同 展开评论 打赏
  • Re求解Linux服务器网站根据实现所有文件777权限的命令
    chmod -R 777 attachment/
    chmod -R 777 attachment/cn_img/
    chmod -R 777 attachment/photo/
    chmod -R 777 attachment/pushpic/
    chmod -R 777 attachment/thumb/
    chmod -R 777 attachment/upload/
    chmod -R 777 attachment/upload/middle/
    chmod -R 777 attachment/upload/small/
    chmod -R 777 attachment/upload/tmp/
    chmod -R 777 attachment/mini/
    chmod -R 777 attachment/mutiupload/
    chmod -R 777 data/
    chmod -R 777 data/bbscache/
    chmod -R 777 data/forums/
    chmod -R 777 data/groupdb/
    chmod -R 777 data/guestcache/
    chmod -R 777 data/tplcache/
    chmod -R 777 data/style/
    chmod -R 777 data/tmp/
    chmod -R 777 html/
    chmod -R 777 html/js/
    chmod -R 777 html/stopic/
    chmod -R 777 html/read/
    chmod -R 777 html/channel/
    chmod -R 777 html/portal/bbsindex/
    chmod -R 777 html/portal/bbsindex/main.htm
    chmod -R 777 html/portal/bbsindex/config.htm
    chmod -R 777 html/portal/bbsindex/index.html
    chmod -R 777 html/portal/bbsradio/
    chmod -R 777 html/portal/bbsradio/main.htm
    chmod -R 777 html/portal/bbsradio/config.htm
    chmod -R 777 html/portal/bbsradio/index.html
    chmod -R 777 html/portal/oindex/
    chmod -R 777 html/portal/oindex/main.htm
    chmod -R 777 html/portal/oindex/config.htm
    chmod -R 777 html/portal/oindex/index.html
    chmod -R 777 html/portal/groupgatherleft/main.htm
    chmod -R 777 html/portal/groupgatherleft/config.htm
    chmod -R 777 html/portal/groupgatherleft/index.html
    chmod -R 777 html/portal/groupgatherright/main.htm
    chmod -R 777 html/portal/groupgatherright/config.htm
    chmod -R 777 html/portal/groupgatherright/index.html
    chmod -R 777 html/portal/userlist/main.htm
    chmod -R 777 html/portal/userlist/config.htm
    chmod -R 777 html/portal/userlist/index.html
    chmod -R 777 html/portal/usermix/main.htm
    chmod -R 777 html/portal/usermix/config.htm
    chmod -R 777 html/portal/usermix/index.html


    直接COPY。呵呵,爽吧。
    2012-09-02 00:33:18
    赞同 展开评论 打赏
  • Re求解Linux服务器网站根据实现所有文件777权限的命令
    问题解决谢啦,
    cd /alidata
    chmod -R 777 www
    2012-09-02 00:11:05
    赞同 展开评论 打赏
  • FTP 直接执行
    2012-09-02 00:09:08
    赞同 展开评论 打赏
  • chmod -R 777 /home/dirname

    2012-09-02 00:04:52
    赞同 展开评论 打赏
滑动查看更多
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载