GNU bug report logs -
#4841
23.1.50; tramp su/sudo makes vc-dir hang with viper
Previous Next
Reported by: Stefano Zacchiroli <zack <at> upsilon.cc>
Date: Sat, 31 Oct 2009 15:00:05 UTC
Severity: normal
Tags: moreinfo
Done: Stefano Zacchiroli <zack <at> debian.org>
Bug is archived. No further changes may be made.
Full log
Message #30 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Tue, Nov 03, 2009 at 10:15:35PM +0100, Michael Albinus wrote:
> The last command Tramp performs is
>
> cd /etc/; exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --
>
> Nothing returned. Could you, please, run the command as root in a shell,
> and see what happens? Maybe with and without the "exec" ...
Sure:
root <at> usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
root <at> usha:/etc# echo $?
0
root <at> usha:/etc# touch a
root <at> usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
aroot <at> usha:/etc# echo foo >> inittab
root <at> usha:/etc# # note the heading 'a' before the prompt
root <at> usha:/etc# exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --
zack <at> usha:~$ echo $?
0
zack <at> usha:~$
(I'm not sure the last return code is actually faithful, as I haven't
verified whether su returns to the caller the exit code of the shell
process.)
Cheers.
--
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
This bug report was last modified 3 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.