免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: aswjh
打印 上一主题 下一主题

一个文件是-rw-r--r-- 1 root root,怎么用ROOT用户删除不了? [复制链接]

论坛徽章:
0
15 [报告]
发表于 2008-11-13 10:27 |只看该作者
高手都用英文

论坛徽章:
0
14 [报告]
发表于 2008-11-13 10:17 |只看该作者
是以前存档的一个文件,不是目录,
真是怪了
Are you sure? I bet it is a mount point that you want to remove. That is almost the only scenario where root can't remove a directory

[ 本帖最后由 briangao 于 2008-11-12 21:19 编辑 ]

论坛徽章:
0
13 [报告]
发表于 2008-11-13 10:08 |只看该作者
支持7楼的看法,你没X的权利你怎么删啊??

论坛徽章:
0
12 [报告]
发表于 2008-11-12 13:55 |只看该作者
有LDAP等服务?

论坛徽章:
0
11 [报告]
发表于 2008-11-12 10:33 |只看该作者
是以前存档的一个文件,不是目录,
真是怪了
Have you tried force remove,  rm -f filename
Can you post ls -l filename and file filename ?

论坛徽章:
0
10 [报告]
发表于 2008-11-12 09:56 |只看该作者
是以前存档的一个文件,不是目录,
真是怪了

论坛徽章:
0
9 [报告]
发表于 2008-11-12 09:01 |只看该作者
原帖由 briangao 于 2008-11-12 08:53 发表
What is the file name that you want to remove? Is it a directory? If it is a mount point, you can't remove it unless you unmount to file system first.


老高的思路确实开阔,佩服

论坛徽章:
0
8 [报告]
发表于 2008-11-12 08:53 |只看该作者
What is the file name that you want to remove? Is it a directory? If it is a mount point, you can't remove it unless you unmount to file system first.

论坛徽章:
0
7 [报告]
发表于 2008-11-12 00:43 |只看该作者
没有x 执行权限,chmod 777 还有chown -R root:组名 目录。
改变权限和属主。

论坛徽章:
0
6 [报告]
发表于 2008-11-11 18:09 |只看该作者
attribute
查下这个参数~
以前遇到过类似问题
怎么处理的不记得了~自力吧~
  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP