[Bug 742041] Re: autocompletion fails to work entirely for some commands (e.g. mount)

Daniel Smedegaard Buus danielbuus at gmail.com
Thu Oct 20 07:30:39 UTC 2011


I'd like to point to the *original* poster's (i.e. Ngassam's)
description of the issue. 769866 is not the same issue.

The issue at hand here is that some commands (e.g. the mount command)
fail autocompletion when prefixed with sudo. Using "mount" as regular
user will autocomplete on tabbing in order to find source device and
mount target folder paths. Same applies if logged in as root. When
prefixing "sudo" tab path autocompletion stops working.

This applies to Oneiric and Natty, in X sessions, TTYs and SSH. Not sure
if it applied to Maverick -- AFAIR it didn't.

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

Title:
  autocompletion fails to work entirely for some commands (e.g. mount)

Status in “bash” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: bash

  not tab completion when providing a file we want to work with.

  here is what I mean :

  natty at natty-PCV-RSM22-CE:~/Documents$ sudo mount -o loop natty-
  alternate-i386.iso  /cdrom

  I had to manually add "natty-alternate-i386.iso " and cdrom . It was
  not the case in the past.

  This is regression for the bash's behavior

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: bash 4.2-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-7.35-generic 2.6.38
  Uname: Linux 2.6.38-7-generic i686
  Architecture: i386
  Date: Thu Mar 24 21:25:46 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110318)
  LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110323)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash
  UpgradeStatus: Upgraded to natty on 2011-03-24 (0 days ago)

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




More information about the foundations-bugs mailing list