Debian Bug report logs -
#506973
bash-completion: soft link completion is broken
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#506973; Package bash-completion.
(Wed, 26 Nov 2008 16:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Noah Slater <nslater@tumbolia.org>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Wed, 26 Nov 2008 16:03:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Version: 20080705
Severity: normal
Bash completion fails to account for soft links properly:
nslater@mahora: ~ $ mkdir -p dir-a/dir-b
nslater@mahora: ~ $ ln -s dir-a/dir-b dir-c
nslater@mahora: ~ $ touch doc-a
nslater@mahora: ~ $ touch doc-b
nslater@mahora: ~ $ cd dir-c
nslater@mahora: ~/dir-c $ cat ../doc-
doc-a doc-b
nslater@mahora: ~/dir-c $ cat ../doc-a
cat: ../doc-a: No such file or directory
nslater@mahora: ~/dir-c $ cat ../doc-ab
cat: ../doc-b: No such file or directory
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23.1-bytemark-uml
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bash-completion depends on:
ii bash 3.2-4 The GNU Bourne Again SHell
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
--
Noah Slater, http://tumbolia.org/nslater
Tags added: confirmed
Request was from David Paleino <d.paleino@gmail.com>
to control@bugs.debian.org.
(Wed, 26 Nov 2008 20:12:02 GMT) (full text, mbox, link).
Information stored
:
Bug#506973; Package bash-completion.
(Wed, 26 Nov 2008 20:12:05 GMT) (full text, mbox, link).
Acknowledgement sent
to David Paleino <d.paleino@gmail.com>:
Extra info received and filed, but not forwarded.
(Wed, 26 Nov 2008 20:12:05 GMT) (full text, mbox, link).
Message #12 received at 506973-quiet@bugs.debian.org (full text, mbox, reply):
tags 506973 confirmed
thanks
Hello Noah,
On Wed, 26 Nov 2008 16:00:52 +0000, Noah Slater wrote:
> [..]
>
> Bash completion fails to account for soft links properly:
>
> nslater@mahora: ~ $ mkdir -p dir-a/dir-b
> nslater@mahora: ~ $ ln -s dir-a/dir-b dir-c
> nslater@mahora: ~ $ touch doc-a
> nslater@mahora: ~ $ touch doc-b
> nslater@mahora: ~ $ cd dir-c
> nslater@mahora: ~/dir-c $ cat ../doc-
> doc-a doc-b
This is because it considers "dir-c" as a sibling of dir-a, not as
dir-a/dir-b. :(
I don't know whether this is fixable or not. Will have a look.
Thank you for your report.
Kindly,
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
Forcibly Merged 503697 506973.
Request was from David Paleino <d.paleino@gmail.com>
to control@bugs.debian.org.
(Fri, 30 Jan 2009 09:12:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#506973; Package bash-completion.
(Wed, 26 May 2010 10:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to pablo <pablo.piti@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>.
(Wed, 26 May 2010 10:33:04 GMT) (full text, mbox, link).
Message #21 received at 506973@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hello
A quite old bug, but I may have more precise informations
>> Bash completion fails to account for soft links properly:
>>
>> nslater@mahora: ~ $ mkdir -p dir-a/dir-b
>> nslater@mahora: ~ $ ln -s dir-a/dir-b dir-c
>> nslater@mahora: ~ $ touch doc-a
>> nslater@mahora: ~ $ touch doc-b
>> nslater@mahora: ~ $ cd dir-c
>> nslater@mahora: ~/dir-c $ cat ../doc-
>> doc-a doc-b
> This is because it considers "dir-c" as a sibling of dir-a, not as
> dir-a/dir-b. :(
way to reproduce:
pablo@desky:~$ mkdir symlink
pablo@desky:~$ touch toto
pablo@desky:~$ ln -s symlink /tmp/newlink
pablo@desky:~$ touch tmp/tutu
pablo@desky:~$ cd /tmp/newlink
pablo@desky:/tmp/newlink$ cat ../
tutu
pablo@desky:/tmp/newlink$ cat ../tutu
cat: ../tutu: No such file or directory
it looks like bash-completion just looks at the apparent directory structure, and does not follow the target of the links.
On the upper example, it checks into /tmp directory instead of checking into $HOME.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to dapal@debian.org:
You have taken responsibility.
(Mon, 25 Apr 2011 12:06:11 GMT) (full text, mbox, link).
Notification sent
to Noah Slater <nslater@tumbolia.org>:
Bug acknowledged by developer.
(Mon, 25 Apr 2011 12:06:19 GMT) (full text, mbox, link).
Message #26 received at 506973-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Heya,
these (#267060 and #506973) are bugs in bash, which it seem aren't going to be
fixed anyway, so I'm closing them.
David
--
. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]
Reply sent
to dapal@debian.org:
You have taken responsibility.
(Mon, 25 Apr 2011 12:06:26 GMT) (full text, mbox, link).
Notification sent
to Marco Túlio Gontijo e Silva <marcot@debian.org>:
Bug acknowledged by developer.
(Mon, 25 Apr 2011 12:06:32 GMT) (full text, mbox, link).
Did not alter fixed versions and reopened.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 25 Apr 2011 19:24:07 GMT) (full text, mbox, link).
Bug reassigned from package 'bash-completion' to 'bash'.
Request was from David Paleino <dapal@debian.org>
to control@bugs.debian.org.
(Mon, 25 Apr 2011 19:24:08 GMT) (full text, mbox, link).
Bug No longer marked as found in versions bash-completion/20080705.
Request was from David Paleino <dapal@debian.org>
to control@bugs.debian.org.
(Mon, 25 Apr 2011 19:24:08 GMT) (full text, mbox, link).
Bug reopened
Request was from Jonathan Nieder <jrnieder@gmail.com>
to control@bugs.debian.org.
(Thu, 02 May 2013 00:15:04 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 10:09:48 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.