On 20 Aug 2000, Jim Meyering wrote:
> Thanks for the report.
>
> That's the behavior that appears to be required by the specification.
> Also, it is consistent with what other versions of ln do.
> If you find a version of ln that works differently, please let me know.
>
Actually, AIX version 4 behaves differently. Now that you asked for it I
checked the man page and it states:
2. If TargetDirectory is already a symbolic link to a directory, then
the ln command treats the existing target as a file. This means that
a command such as ln -fs somepath/lname symdir will not follow the
existing symbolic link of symdir, instead it will create a new symbolic
link from somepath/lname to symdir.
Best regards,
Alex