From: Stefano Zacchiroli <zack@debian.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 4841@emacsbugs.donarmstrong.com, rfrancoise@debian.org
Subject: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...)
Date: Tue, 3 Nov 2009 23:09:24 +0100 [thread overview]
Message-ID: <20091103220924.GC1801@usha.takhisis.invalid> (raw)
In-Reply-To: <87my33z4w8.fsf@gmx.de>
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@usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
root@usha:/etc# echo $?
0
root@usha:/etc# touch a
root@usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
aroot@usha:/etc# echo foo >> inittab
root@usha:/etc# # note the heading 'a' before the prompt
root@usha:/etc# exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --
zack@usha:~$ echo $?
0
zack@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
next prev parent reply other threads:[~2009-11-03 22:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-31 14:54 bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...) Stefano Zacchiroli
2009-11-01 18:44 ` Michael Albinus
2009-11-01 22:05 ` Stefano Zacchiroli
2009-11-02 9:18 ` Stefano Zacchiroli
2009-11-03 21:15 ` Michael Albinus
2009-11-03 22:09 ` Stefano Zacchiroli [this message]
2009-11-07 13:10 ` Michael Albinus
2009-11-13 15:29 ` Stefano Zacchiroli
2009-11-13 21:21 ` Michael Albinus
2009-11-13 21:43 ` Stefano Zacchiroli
2009-11-13 21:50 ` Processed: " Emacs bug Tracking System
2022-02-09 9:33 ` bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang with viper Lars Ingebrigtsen
2022-02-09 10:23 ` Stefano Zacchiroli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091103220924.GC1801@usha.takhisis.invalid \
--to=zack@debian.org \
--cc=4841@emacsbugs.donarmstrong.com \
--cc=michael.albinus@gmx.de \
--cc=rfrancoise@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.