Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 05:26:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222212] csh/tcsh chdir into symlink does not honor logical path
Message-ID:  <bug-222212-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222212

            Bug ID: 222212
           Summary: csh/tcsh chdir into symlink does not honor logical
                    path
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: cjb@ation.org

Recent builds of csh/tcsh have a bug where entering a symlink does not honor
the logical path. Instead, it adopts the physical path:

% cd /tmp
% ln -s /usr/local .
% cd local
% pwd
/usr/local
% cd ..
% pwd
/usr

Contrast this with sh:
$ cd /tmp
$ cd local
$ pwd
/tmp/local
$ cd ..
$ pwd
/tmp

This behavior started in the last 3-6 months I would guess.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222212-8>