免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7650 | 回复: 3
打印 上一主题 下一主题

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

论坛徽章:
0
1 [报告]
发表于 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
2 [报告]
发表于 2008-11-12 10:33 |显示全部楼层
是以前存档的一个文件,不是目录,
真是怪了
Have you tried force remove,  rm -f filename
Can you post ls -l filename and file filename ?

论坛徽章:
0
3 [报告]
发表于 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
4 [报告]
发表于 2008-11-13 21:32 |显示全部楼层
It seems that you wanted to remove a file or a directory inside a NFS mounted directory. If that is the case, you will get permission denied meassge unless you share the source with special permissions for remote root users.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP