Re: Odd symlink behavour

Michael J. Micek (mmicek@muddcs.cs.hmc.edu)
Tue, 22 Oct 1996 11:12:49 -0700 (PDT)



> I have noticed an odd behavour with symlinked directories under the
> 2.0.22 kernel on the ext2 filesystem. When copying a file from a
> symlinked directory using a relative destination, the file is copied not
> to the location relative to the symlinked directory, but to the location
> relative to the original directory.

Did you check out the behavior under other filesystems and
kernel versions?

This is almost certainly a feature of your shell, and has
nothing to do with the filesystem. If you're using tcsh,
check the 'symlinks' variable. If you're using bash, look
at 'nolinks' and '-P'. With zsh, examine 'CHASE_LINKS'.

-- 
Michael J. Micek, peripatetic philosopher. (currently) mmicek@muddcs.cs.hmc.edu