Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 1996 01:44:40 +0100
From:      roberto@keltia.freenix.fr (Ollivier Robert)
To:        Helbig@MX.BA-Stuttgart.De
Cc:        freebsd-bugs@FreeBSD.ORG (FreeBSD Bugs' list)
Subject:   Re: bin/2331: strange output of sh's pwd on symlinked directories
Message-ID:  <Mutt.19961231014440.roberto@keltia.freenix.fr>
In-Reply-To: <199612302351.AAA00671@helbig.informatik.ba-stuttgart.de>; from Helbig@MX.BA-Stuttgart.De on Dec 31, 1996 00:51:57 %2B0100
References:  <199612302351.AAA00671@helbig.informatik.ba-stuttgart.de>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Helbig@MX.BA-Stuttgart.De:
> >Synopsis:       strange output of sh's pwd on symlinked directories
> >Description:
> The shell builtin prints wrong names if you cd .. up crossing a
> symlinked directory.

It is not really a bug, jsust use a modern shell :-)

Zsh, tcsh and probably bash are able to "ignore" symlinks on "..".

tcsh:
set symlinks=ignore

zsh:
setopt CHASE_LINKS      (default is ignore symbolic links)

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
  FreeBSD keltia.freenix.fr 3.0-CURRENT #33: Sat Dec 21 12:57:17 CET 1996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19961231014440.roberto>