[Bug 1381049] [NEW] scp bash completion fails when remote computer uses busybox

JonHurst 1381049 at bugs.launchpad.net
Tue Oct 14 12:42:25 UTC 2014


Public bug reported:

Running 12.04 at the moment, but latest version appears to be affected
as well.

The issue is that the ssh call to get the directory listings for
completion for scp use the bash "command" builtin and busybox does not
have this available and therefore fails.

Removing the "command" allows busybox ls to be called and everything
works as expected (see attached patch).

The patch also replaces the $nospace variable in the call to complete
with -o nospace, but this does seem to have been fixed in the latest
version.

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "ssh.patch"
   https://bugs.launchpad.net/bugs/1381049/+attachment/4235723/+files/ssh.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1381049

Title:
  scp bash completion fails when remote computer uses busybox

Status in “bash-completion” package in Ubuntu:
  New

Bug description:
  Running 12.04 at the moment, but latest version appears to be affected
  as well.

  The issue is that the ssh call to get the directory listings for
  completion for scp use the bash "command" builtin and busybox does not
  have this available and therefore fails.

  Removing the "command" allows busybox ls to be called and everything
  works as expected (see attached patch).

  The patch also replaces the $nospace variable in the call to complete
  with -o nospace, but this does seem to have been fixed in the latest
  version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1381049/+subscriptions



More information about the foundations-bugs mailing list