gvfs changes bash COMP_WORDBREAKS breaking scp tab-completion

Bug #290784 reported by Max Bowsher
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gvfs
Fix Released
Medium
gvfs (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gvfs

/etc/profile.d/gvfs-bash-completion.sh deliberately removes the colon character from COMP_WORDBREAKS. This breaks scp tab-completion provided by bash-completion.

$ scp user@host:foob<TAB>
becomes:
$ scp foobar
(assuming presence of a file foobar in user@host's homedir)

The user@host: portion is deleted by the completion expansion.

Arguably, the completions in the bash-completion should try to be resilient to COMP_WORDBREAKS setting, since the user could redefine this. However, that point aside, it is not very appropriate for the gvfs package to be making global changes to bash completion behaviour.

(Ubuntu Intrepid, gvfs-bin 1.0.2-0ubuntu1)

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, the issue is an upstream one though, could you open the bug on bugzilla.gnome.org?

Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
A. Walton (awalton) wrote :

It's a known issue upstream. You can track its progress here: http://bugzilla.gnome.org/show_bug.cgi?id=523732

Changed in gvfs:
status: New → Triaged
Changed in gvfs:
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gvfs - 1.1.8-0ubuntu1

---------------
gvfs (1.1.8-0ubuntu1) jaunty; urgency=low

  * New upstream version:
    - Fix crashers and leaks (lp: #201519)
    - Handle file:// uris with anchors in gvfs-open
    - fuse: Support ftruncate to the current file size (lp: #234532)
    - escape/unescape hostname part in uris, allowing spaces in e.g. smb domains
    - hal: Fix "No mount object" error on mount
    - Change details of the new .xdg-volume-info file format
    - Fix races in cancellation of gvfs streams
    - Remove debug spew from backends
    - ftp: Fix anonymous login (lp: #334540)
    - gphoto2: Ignore broken storages with no capacity (lp: #326029)
    - Don't globally modify COMP_WORDBREAKS in bash completion script
      (lp: #290784)
    - Don't ask for username when getting ssh key passphrase
  * debian/patches/91_upstream_change_fix_trash_crasher.patch:
    - the change is in the new version

 -- Sebastien Bacher <email address hidden> Tue, 10 Mar 2009 13:02:47 +0100

Changed in gvfs:
status: Triaged → Fix Released
Changed in gvfs:
status: New → Fix Released
Changed in gvfs:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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