LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: Brume

我的机器是不是被别人控制了?root用户居然都不能读取这个文件?

[复制链接]
 楼主| 发表于 2008-6-23 16:18:34 | 显示全部楼层
谢谢楼上各位大侠,我先用的将log文件夹重命名的办法,将那个文件放在重新命名的文件夹里,再将log文件夹其余文件恢复,暂时解决了问题,等有空了再试试各位的办法后,再来报告结果。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-24 22:56:32 | 显示全部楼层
今天试了试各位老大的办法:这个文件我移动到了/var/log3文件夹了

# cd /var/log3
# ls
bittorrent
# mv bittorrent /tmp/
mv: 无法 stat “bittorrent”: 权限不够
# lsof bittorrent
lsof: status error on bittorrent: Permission denied
# fsck
fsck 1.40.8 (13-Mar-2008)
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will read-only check consistency of the filesystem on /dev/mapper/server-root
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Tue Jun 24 22:49:13 2008
###########
Partition /dev/mapper/server-root is mounted with write permissions, cannot check it
#
如何才能执行fsck?
回复 支持 反对

使用道具 举报

发表于 2008-6-25 06:44:56 | 显示全部楼层
用安装光盘或急救盘或在dos的FAT32分区上用安装内核和initrd通过loadlin(哦,loadlin是过去时了,现在用grub)启动,这时进入安装模式,然后用reiserfsck。这时你没有挂载这个分区,所以就可以fsck了,按提示输入参数哦。估计是要rebuild-tree的。
回复 支持 反对

使用道具 举报

发表于 2008-6-25 14:19:55 | 显示全部楼层
别人就算控制你电脑,还能作出比root权限更大的权限来?呵呵
回复 支持 反对

使用道具 举报

发表于 2008-6-27 17:16:53 | 显示全部楼层
我感觉是你的HD出问题了,过去我也这样,fsck也完好多文件也就没拉, 后来没法,换硬盘重装
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表