[haiku-bugs] [Haiku] #10892: Unexpected Behavior in Terminal using cd with symlinks

  • From: "alphaseinor" <trac@xxxxxxxxxxxx>
  • Date: Tue, 03 Jun 2014 05:00:20 -0000

#10892: Unexpected Behavior in Terminal using cd with symlinks
------------------------------+------------------------------
 Reporter:  alphaseinor       |        Owner:  axeld
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  R1/alpha5
Component:  File Systems/BFS  |      Version:  R1/Development
 Keywords:  terminal pwd      |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 Tested on haiku-nightly-hrev47259-x86gcc2hybrid-vmware

 boot system
 New terminal
 cd ~
 cd Desktop
 cd Home
 cd Desktop
 cd Home
 displays as
 ~/Desktop/Home/Desktop/Home>

 you can keep looping with the home symlink, expected behavior would not
 display symlink as a directory
 Should be displayed as
 ~>

 Also shows looped path in command line app PWD, so this is not isolated to
 the CD command

--
Ticket URL: <https://dev.haiku-os.org/ticket/10892>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: