#503697 completing paths in cd with symlinks is not right

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
Marco Túlio Gontijo e Silva
Date:
2024-06-03 15:15:02 UTC
Severity:
minor
Tags:
#503697#5
Date:
2008-10-27 17:08:55 UTC
From:
To:
$ mkdir father
$ mkdir father/son
$ ln -s father/son
$ cd son
$ cd ../f<TAB>

It should complete father, but it doesn't.

#503697#12
Date:
2008-10-31 22:29:52 UTC
From:
To:
tags 503697 confirmed
thanks

Hello Marco,

I'm confirming this bug, but I don't know whether this is a bash-completion's
or bash's bug.
I'll try to have a look, but I believe this is bash's.

Kindly,
David

#503697#21
Date:
2011-04-25 18:04:51 UTC
From:
To:
Hi.

Excerpts from owner's message of Seg Abr 25 09:06:32 -0300 2011:
(...)

Maybe they should left open, to avoid someone from reporting them again.  In
case the bug is fixed they can be closed, but until then, I don't see a problem
in leaving them open.

What do you think?

Greetings.
(...)

#503697#26
Date:
2011-04-25 19:22:12 UTC
From:
To:
reopen 503697
reassign 503697 bash

Quick summary for bash maintainers: plain directory completion gets broken when
dealing with symlinks.

Probably yes, but reassigned to bash, which I'm doing now.

Kindly,
David