能ls出来,基本是r-x权限,但是里面的文件或者子目录不能访问?
时间:2010-12-31
来源:互联网
root@LDAP01:[/proc/17622]ls -l
ls: 无法读取符号链接cwd: 没有那个文件或目录
ls: 无法读取符号链接root: 没有那个文件或目录
ls: 无法读取符号链接exe: 没有那个文件或目录
总用量 0
dr-xr-xr-x 2 root root 0 12月 31 10:02 attr
-r-------- 1 root root 0 12月 31 10:01 auxv
-r--r--r-- 1 root root 0 12月 31 10:06 cmdline
-rw-r--r-- 1 root root 0 12月 31 10:01 coredump_filter
lrwxrwxrwx 1 root root 0 12月 31 10:01 cwd
-r-------- 1 root root 0 12月 31 10:01 environ
lrwxrwxrwx 1 root root 0 12月 31 10:01 exe
dr-x------ 2 root root 0 12月 31 10:02 fd
-r--r--r-- 1 root root 0 12月 31 10:01 io
-r-------- 1 root root 0 12月 31 10:01 limits
-rw-r--r-- 1 root root 0 12月 31 10:01 loginuid
-r--r--r-- 1 root root 0 12月 31 10:01 maps
-rw------- 1 root root 0 12月 31 10:01 mem
-r--r--r-- 1 root root 0 12月 31 10:01 mounts
-r-------- 1 root root 0 12月 31 10:01 mountstats
lrwxrwxrwx 1 root root 0 12月 31 10:01 root
-r-------- 1 root root 0 12月 31 10:01 smaps
-r--r--r-- 1 root root 0 12月 31 10:06 stat
-r--r--r-- 1 root root 0 12月 31 10:01 statm
-r--r--r-- 1 root root 0 12月 31 10:06 status
dr-xr-xr-x 3 root root 0 12月 31 10:02 task
root@LDAP01:[/proc/17622]stat task
File: ‘task’
Size: 0 Blocks: 0 IO Block: 1024 目录
Device: 3h/3d Inode: 1154875395 Links: 3
Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-12-31 10:02:28.893918064 +0800
Modify: 2010-12-31 10:02:28.893918064 +0800
Ch ange: 2010-12-31 10:02:28.893918064 +0800
root@LDAP01:[/proc/17622]stat fd
File: ‘fd’
Size: 0 Blocks: 0 IO Block: 1024 目录
Device: 3h/3d Inode: 1154875401 Links: 2
Access: (0500/dr-x------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-12-31 10:25:10.589587720 +0800
Modify: 2010-12-31 10:25:10.589587720 +0800
Ch ange: 2010-12-31 10:25:10.589587720 +0800
root@LDAP01:[/proc/17622]cd fd
-bash: cd: fd: 没有那个文件或目录
root@LDAP01:[/proc/17622]cd task
-bash: cd: task: 没有那个文件或目录
root@LDAP01:[/proc/17622]ls -l cwd
ls: 无法读取符号链接cwd: 没有那个文件或目录
lrwxrwxrwx 1 root root 0 12月 31 10:35 cwd
root@LDAP01:[/proc/17622]ls -l cmdline
-r--r--r-- 1 root root 0 12月 31 10:32 cmdline
root@LDAP01:[/proc/17622]ls -l exe
ls: 无法读取符号链接exe: 没有那个文件或目录
lrwxrwxrwx 1 root root 0 12月 31 10:35 exe
root@LDAP01:[/proc/17622]ls -l root
ls: 无法读取符号链接root: 没有那个文件或目录
lrwxrwxrwx 1 root root 0 12月 31 10:35 root
root@LDAP01:[/proc/17622]
其中cwd,exe,root三个文件(符号链接)和2个子目录fd,task不能访问(ls -l) ,也不能stat,是否磁道有问题?
ls: 无法读取符号链接cwd: 没有那个文件或目录
ls: 无法读取符号链接root: 没有那个文件或目录
ls: 无法读取符号链接exe: 没有那个文件或目录
总用量 0
dr-xr-xr-x 2 root root 0 12月 31 10:02 attr
-r-------- 1 root root 0 12月 31 10:01 auxv
-r--r--r-- 1 root root 0 12月 31 10:06 cmdline
-rw-r--r-- 1 root root 0 12月 31 10:01 coredump_filter
lrwxrwxrwx 1 root root 0 12月 31 10:01 cwd
-r-------- 1 root root 0 12月 31 10:01 environ
lrwxrwxrwx 1 root root 0 12月 31 10:01 exe
dr-x------ 2 root root 0 12月 31 10:02 fd
-r--r--r-- 1 root root 0 12月 31 10:01 io
-r-------- 1 root root 0 12月 31 10:01 limits
-rw-r--r-- 1 root root 0 12月 31 10:01 loginuid
-r--r--r-- 1 root root 0 12月 31 10:01 maps
-rw------- 1 root root 0 12月 31 10:01 mem
-r--r--r-- 1 root root 0 12月 31 10:01 mounts
-r-------- 1 root root 0 12月 31 10:01 mountstats
lrwxrwxrwx 1 root root 0 12月 31 10:01 root
-r-------- 1 root root 0 12月 31 10:01 smaps
-r--r--r-- 1 root root 0 12月 31 10:06 stat
-r--r--r-- 1 root root 0 12月 31 10:01 statm
-r--r--r-- 1 root root 0 12月 31 10:06 status
dr-xr-xr-x 3 root root 0 12月 31 10:02 task
root@LDAP01:[/proc/17622]stat task
File: ‘task’
Size: 0 Blocks: 0 IO Block: 1024 目录
Device: 3h/3d Inode: 1154875395 Links: 3
Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-12-31 10:02:28.893918064 +0800
Modify: 2010-12-31 10:02:28.893918064 +0800
Ch ange: 2010-12-31 10:02:28.893918064 +0800
root@LDAP01:[/proc/17622]stat fd
File: ‘fd’
Size: 0 Blocks: 0 IO Block: 1024 目录
Device: 3h/3d Inode: 1154875401 Links: 2
Access: (0500/dr-x------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-12-31 10:25:10.589587720 +0800
Modify: 2010-12-31 10:25:10.589587720 +0800
Ch ange: 2010-12-31 10:25:10.589587720 +0800
root@LDAP01:[/proc/17622]cd fd
-bash: cd: fd: 没有那个文件或目录
root@LDAP01:[/proc/17622]cd task
-bash: cd: task: 没有那个文件或目录
root@LDAP01:[/proc/17622]ls -l cwd
ls: 无法读取符号链接cwd: 没有那个文件或目录
lrwxrwxrwx 1 root root 0 12月 31 10:35 cwd
root@LDAP01:[/proc/17622]ls -l cmdline
-r--r--r-- 1 root root 0 12月 31 10:32 cmdline
root@LDAP01:[/proc/17622]ls -l exe
ls: 无法读取符号链接exe: 没有那个文件或目录
lrwxrwxrwx 1 root root 0 12月 31 10:35 exe
root@LDAP01:[/proc/17622]ls -l root
ls: 无法读取符号链接root: 没有那个文件或目录
lrwxrwxrwx 1 root root 0 12月 31 10:35 root
root@LDAP01:[/proc/17622]
其中cwd,exe,root三个文件(符号链接)和2个子目录fd,task不能访问(ls -l) ,也不能stat,是否磁道有问题?
作者: fcx2002 发布时间: 2010-12-31
procfs 只是内核暴露给用户以便用户查看系统信息的“虚拟”出来的文件夹,并不存在于真正的磁盘上,所以肯定不是磁道的问题。
作者: deepwhite 发布时间: 2010-12-31
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28