- 论坛徽章:
- 0
|
好好的,突然应用报错,access denied.
登录主机后,root也没有访问了,详细如下
[root@dns crp]# cd crpmail/
bash: cd: crpmail/: Permission denied
[root@dns crp]# ll
total 268
drwxrwxrwx 2413 root root 188416 Aug 4 08:43 crpmail
drwxrwxrwx 1002 root root 77824 May 31 2006 crpxml
---------- 1 root root 0 Oct 10 2005 protect.bin
[root@dns crp]# ls -lrth crpmail/
ls: crpmail/: Permission denied
[root@dns crp]# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[root@dns crp]# whoami
root
[root@dns crp]# strace ls -l crpmail
lstat64("crpmail", {st_mode=S_IFDIR|0777, st_size=188416, ...}) = 0
open("crpmail", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EACCES (Permission denied)
write(2, "ls: ", 4ls: ) = 4
write(2, "crpmail", 7crpmail) = 7
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, ": Permission denied", 19: Permission denied) = 19
write(2, "\n", 1
) = 1
_exit(1) = ? |
|