I am encountering still the same problems. Just updated to 11.04 today. Versions of bash-completion are the same as mentioned above.
But I can add a few comments: for root everything seem to work fine, e.g.
less /var <TAB> log <TAB> mess<TAB>
works as expected. But as a normal user I get a space after the directory instead.
Interestingly just for known commands like "less" or "ls".
The following works as expected, even as a normal user:
foobar /var <TAB> log <TAB> mess<TAB>
11.04 ships /etc/bash_completion version 1.3, 10.10 had version 1.1. I diff'd the files, and I think there are some parts which could be responsible for this (probably when handling different bash versions) but I don't know anything about the bash completation internals, so I can't add more senseful comments to that issue ;)
I am encountering still the same problems. Just updated to 11.04 today. Versions of bash-completion are the same as mentioned above.
But I can add a few comments: for root everything seem to work fine, e.g.
less /var <TAB> log <TAB> mess<TAB>
works as expected. But as a normal user I get a space after the directory instead.
Interestingly just for known commands like "less" or "ls".
The following works as expected, even as a normal user:
foobar /var <TAB> log <TAB> mess<TAB>
11.04 ships /etc/bash_ completion version 1.3, 10.10 had version 1.1. I diff'd the files, and I think there are some parts which could be responsible for this (probably when handling different bash versions) but I don't know anything about the bash completation internals, so I can't add more senseful comments to that issue ;)
Hopefully this helps nevertheless thow...