[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ln bug report
From: |
Wu Jianglin |
Subject: |
ln bug report |
Date: |
Tue, 6 Dec 2005 10:46:46 +0800 |
current status:
# ls -l
lrwxrwxrwx 1 root root 22 11 2 16:49 java -> /usr/local/jdk1.5.0_05
drwxr-xr-x 9 root root 4096 12 6 10:18 jdk1.5.0_05
drwxr-xr-x 9 root root 4096 11 11 06:19 jdk1.5.0_06
#ls -l java/
drwxr-xr-x 2 root root 4096 11 25 16:30 bin
-r--r--r-- 1 root root 2487 11 25 16:30 COPYRIGHT
drwxr-xr-x 8 root root 4096 11 25 16:30 demo
drwxr-xr-x 3 root root 4096 11 25 16:30 include
drwxr-xr-x 6 root root 4096 11 25 16:30 jre
drwxr-xr-x 2 root root 4096 11 25 16:30 lib
-r--r--r-- 1 root root 15584 11 25 16:30 LICENSE
drwxr-xr-x 4 root root 4096 11 25 16:30 man
-r--r--r-- 1 root root 20415 11 25 16:30 README.html
drwxr-xr-x 4 root root 4096 11 25 16:30 sample
-rw-r--r-- 1 root root 17519221 11 25 16:30 src.zip
-r--r--r-- 1 root root 68419 11 25 16:30 THIRDPARTYLICENSEREADME.txt
well, when i perform the following command:
# ln -sf jdk1.5.0_06 java
guess what happened? it looks like this:
# ls -l java/
total 17328
drwxr-xr-x 2 root root 4096 11 25 16:30 bin
-r--r--r-- 1 root root 2487 11 25 16:30 COPYRIGHT
drwxr-xr-x 8 root root 4096 11 25 16:30 demo
drwxr-xr-x 3 root root 4096 11 25 16:30 include
lrwxrwxrwx 1 root root 11 12 6 10:22 jdk1.5.0_06 -> jdk1.5.0_06
drwxr-xr-x 6 root root 4096 11 25 16:30 jre
drwxr-xr-x 2 root root 4096 11 25 16:30 lib
-r--r--r-- 1 root root 15584 11 25 16:30 LICENSE
drwxr-xr-x 4 root root 4096 11 25 16:30 man
-r--r--r-- 1 root root 20415 11 25 16:30 README.html
drwxr-xr-x 4 root root 4096 11 25 16:30 sample
-rw-r--r-- 1 root root 17519221 11 25 16:30 src.zip
-r--r--r-- 1 root root 68419 11 25 16:30 THIRDPARTYLICENSEREADME.txt
it is really not this command ln -sf mean, it should be wrong behavior. what i
want is to override the existent symbol link java. it does work on others unix
platform.
Micahel Wu from Beijing, China.
- ln bug report,
Wu Jianglin <=