- 论坛徽章:
- 0
|
这是不是solaris的一个BUG?
SOLARIS 10
bash-2.05b$ more /etc/release
Solaris 10 s10_69 SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 05 October 2004
bash-2.05b$
bash-2.05b$ ls -l
total 36
drwxr-xr-x 2 test other 512 Mar 8 12:07 _41
drwxr-xr-x 2 test other 512 Mar 8 12:07 _42
drwxr-xr-x 2 test other 512 Mar 8 12:07 _44
drwxr-xr-x 2 test other 512 Mar 8 12:07 _4d
drwxr-xr-x 2 test other 512 Mar 8 12:07 _4o
drwxr-xr-x 2 test other 512 Mar 8 12:07 _4p
drwxr-xr-x 2 test other 512 Mar 8 12:07 _4q
drwxr-xr-x 2 test other 512 Mar 8 12:07 _51
drwxr-xr-x 2 test other 512 Mar 8 12:07 _52
drwxr-xr-x 2 test other 512 Mar 8 12:07 _53
drwxr-xr-x 2 test other 512 Mar 8 12:07 _54
drwxr-xr-x 2 test other 512 Mar 8 12:07 _55
drwxr-xr-x 2 test other 512 Mar 8 12:07 _56
drwxr-xr-x 2 test other 512 Mar 8 12:07 _57
drwxr-xr-x 2 test other 512 Mar 8 12:07 _58
drwxr-xr-x 2 test other 512 Mar 8 12:07 _59
drwxr-xr-x 2 test other 512 Mar 8 12:07 _5a
drwxr-xr-x 2 test other 512 Mar 8 12:07 _h
bash-2.05b$
bash-2.05b$ ls -l _41
total 0
bash-2.05b$
bash-2.05b$ rm -rf _41
rm: cannot determine if this is an ancestor of the current working directory
_41
bash-2.05b$
rmdir 可以
bash-2.05b$ rmdir _41
bash-2.05b$
另外root用rm -rf也正常 {:3_198:} {:3_198:} {:3_198:} |
|