From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefano Zacchiroli Newsgroups: gmane.emacs.bugs 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 Message-ID: <20091103220924.GC1801@usha.takhisis.invalid> References: <87pr83ehqv.fsf@usha.takhisis.invalid> <87bpjm84qp.fsf@gmx.de> <20091101220520.GA19609@usha.takhisis.invalid> <20091102091820.GA11435@usha.takhisis.invalid> <87my33z4w8.fsf@gmx.de> Reply-To: Stefano Zacchiroli , 4841@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257287258 26176 80.91.229.12 (3 Nov 2009 22:27:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2009 22:27:38 +0000 (UTC) Cc: 4841@emacsbugs.donarmstrong.com, rfrancoise@debian.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 23:27:30 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N5Rqa-0003Y5-KL for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2009 23:27:28 +0100 Original-Received: from localhost ([127.0.0.1]:52380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5Rqa-0007GW-0g for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2009 17:27:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5RqU-0007Fm-GE for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2009 17:27:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5RqQ-0007CW-NU for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2009 17:27:22 -0500 Original-Received: from [199.232.76.173] (port=39162 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5RqQ-0007CR-LM for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2009 17:27:18 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50624) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5RqQ-00010A-3Y for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2009 17:27:18 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA3MRGmj002819; Tue, 3 Nov 2009 14:27:16 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA3MF49J001818; Tue, 3 Nov 2009 14:15:04 -0800 Resent-Date: Tue, 3 Nov 2009 14:15:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefano Zacchiroli Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 03 Nov 2009 22:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4841 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4841-submit@emacsbugs.donarmstrong.com id=B4841.12572862221661 (code B ref 4841); Tue, 03 Nov 2009 22:15:04 +0000 Original-Received: (at 4841) by emacsbugs.donarmstrong.com; 3 Nov 2009 22:10:22 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fettunta.fettunta.org (fettunta.fettunta.org [67.207.129.222]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA3MAKB6001657 for <4841@emacsbugs.donarmstrong.com>; Tue, 3 Nov 2009 14:10:22 -0800 Original-Received: from usha.takhisis.invalid (unknown [10.17.0.10]) by fettunta.fettunta.org (Postfix) with ESMTPS id F0820182EF; Tue, 3 Nov 2009 22:10:19 +0000 (UTC) Original-Received: by usha.takhisis.invalid (Postfix, from userid 1000) id A97546674; Tue, 3 Nov 2009 23:09:24 +0100 (CET) Content-Disposition: inline In-Reply-To: <87my33z4w8.fsf@gmx.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id nA3MRGmj002819 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 03 Nov 2009 17:27:22 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32396 Archived-At: On Tue, Nov 03, 2009 at 10:15:35PM +0100, Michael Albinus wrote: > The last command Tramp performs is >=20 > cd /etc/; exec git ls-files -z -o --directory --no-empty-directory --ex= clude-standard -- >=20 > 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 --e= xclude-standard -- root@usha:/etc# echo $? 0 root@usha:/etc# touch a root@usha:/etc# git ls-files -z -o --directory --no-empty-directory --e= xclude-standard -- aroot@usha:/etc# echo foo >> inittab=20 root@usha:/etc# # note the heading 'a' before the prompt root@usha:/etc# exec git ls-files -z -o --directory --no-empty-director= y --exclude-standard -- zack@usha:~$ echo $? 0 zack@usha:~$=20 (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. --=20 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'=E8 ..| . |. Et ne m'en veux pas si je te tutoi= e sempre uno zaino ...........| ..: |.... Je dis tu =E0 tous ceux que j'aim= e