Re: ln -s broken on 2.4.5

Rasmus B. Hansen
2001-05-30T21:51:30Z

On Wed, 30 May 2001, Marcus Meissner wrote:

> The problem is only there if you specify a directory for the linked to
> component.

I do still not see those problems:

moffe@grignard:/tmp/test# ls -la
totalt 1
drwxr-xr-x 2 moffe users 48 ons maj 30 23:43:46 2001 .
drwxrwxrwt 13 root root 496 ons maj 30 23:43:54 2001 ..
moffe@grignard:/tmp/test# ln -s foo/test bar
moffe@grignard:/tmp/test# ls -la
totalt 1
drwxr-xr-x 2 moffe users 72 ons maj 30 23:44:32 2001 .
drwxrwxrwt 13 root root 496 ons maj 30 23:43:54 2001 ..
lrwxrwxrwx 1 moffe users 8 ons maj 30 23:44:32 2001 bar -> foo/test
moffe@grignard:/tmp/test# mkdir test
moffe@grignard:/tmp/test# ln -s test/bar foo
moffe@grignard:/tmp/test# ls -la
totalt 2
drwxr-xr-x 3 moffe users 120 ons maj 30 23:44:48 2001 .
drwxrwxrwt 13 root root 496 ons maj 30 23:43:54 2001 ..
lrwxrwxrwx 1 moffe users 8 ons maj 30 23:44:32 2001 bar -> foo/test
lrwxrwxrwx 1 moffe users 8 ons maj 30 23:44:48 2001 foo -> test/bar
drwxr-xr-x 2 moffe users 48 ons maj 30 23:44:40 2001 test
moffe@grignard:/tmp/test# mkdir test/foo
moffe@grignard:/tmp/test# ln -s test/foo foo2
moffe@grignard:/tmp/test# ls -la
totalt 2
drwxr-xr-x 3 moffe users 144 ons maj 30 23:45:11 2001 .
drwxrwxrwt 13 root root 496 ons maj 30 23:43:54 2001 ..
lrwxrwxrwx 1 moffe users 8 ons maj 30 23:44:32 2001 bar -> foo/test
lrwxrwxrwx 1 moffe users 8 ons maj 30 23:44:48 2001 foo -> test/bar
lrwxrwxrwx 1 moffe users 8 ons maj 30 23:45:11 2001 foo2 -> test/foo
drwxr-xr-x 3 moffe users 72 ons maj 30 23:45:01 2001 test

moffe@grignard:/tmp/test# uname -m
i586
moffe@grignard:/tmp/test# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
moffe@grignard:/tmp/test# uname -r
2.4.5
moffe@grignard:/tmp/test# ldd --version
ldd (GNU libc) 2.2.3

Rasmus

--
-- [ Rasmus 'Møffe' Bøg Hansen ] --------------------------------------
If you don't receive an answer, then it either indicates that the bug is
too obvious or too difficult.
-- Manfred Spraul
-------------------------------- [ moffe at amagerkollegiet dot dk ] --