hi- here is the example in more detail. i haven't messed with the auto
completion ever, and i'm working on a new jaunty installation.

do the following, where <TAB> = hit the tab key.

j...@albans:~$ cd /tmp
j...@albans:/tmp$ mkdir test
j...@albans:/tmp$ sudo chown root test
j...@albans:/tmp$ sudo chmod 600 test
j...@albans:/tmp$ sudo touch test/touched
j...@albans:/tmp$ ls test
ls: cannot open directory test: Permission denied
j...@albans:/tmp$ sudo ls test/touched
test/touched
j...@albans:/tmp$ sudo ls test/<TAB>

the final line should produce an autocompletion of test/touched, but it
does not.


by "acquire root privliges", i mean authenticating, if necessary, after 
performing an sudo command. in the default ubuntu config, I believe you 
authenticate first with your password, and this is remembered for about ten 
minutes.

my bug is about the fact that, although sudo "knows" that I am allowed
to run commands as super user, it does not let me autocomplete paths
which only root can read. sorry if this was not clear.

-- 
sudo should autocomplete all file paths if already authenticated
https://bugs.launchpad.net/bugs/346710
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to