scp bash completion fails when remote computer uses busybox

Bug #1381049 reported by JonHurst
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
New
Undecided
Unassigned

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.

Tags: patch
Revision history for this message
JonHurst (jon-a-hursts) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "ssh.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.