[Bug 222212] csh/tcsh chdir into symlink does not honor logical path

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 11 05:26:25 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222212

            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 at FreeBSD.org
          Reporter: cjb at 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.

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


More information about the freebsd-bugs mailing list