From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Tramp Date: Wed, 12 Sep 2007 10:03:52 +0200 Message-ID: <86ps0oxqc7.fsf@lola.quinscape.zz> References: <87sl5n5yem.fsf@stupidchicken.com> <87fy1nbe4f.fsf@jurta.org> <86myvu2zw1.fsf@lola.quinscape.zz> <87d4wodiof.fsf@stupidchicken.com> <87ir6gtx7w.fsf_-_@olgas.newt.com> <85ejh4igis.fsf@lola.goethe.zz> <30297.1189581457@olgas.newt.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189584241 3025 80.91.229.12 (12 Sep 2007 08:04:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2007 08:04:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 12 10:03:59 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IVNCY-00043S-IQ for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2007 10:03:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVNCY-00012V-FP for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2007 04:03:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IVNCV-00012K-0n for emacs-devel@gnu.org; Wed, 12 Sep 2007 04:03:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IVNCU-000122-Cd for emacs-devel@gnu.org; Wed, 12 Sep 2007 04:03:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVNCU-00011z-9E for emacs-devel@gnu.org; Wed, 12 Sep 2007 04:03:54 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IVNCT-00026b-KG for emacs-devel@gnu.org; Wed, 12 Sep 2007 04:03:53 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id KAA16507 for ; Wed, 12 Sep 2007 10:03:51 +0200 X-Delivered-To: Original-Received: (qmail 10829 invoked from network); 12 Sep 2007 08:03:52 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 12 Sep 2007 08:03:52 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id 94F398F8ED; Wed, 12 Sep 2007 10:03:52 +0200 (CEST) In-Reply-To: <30297.1189581457@olgas.newt.com> (Bill Wohler's message of "Wed\, 12 Sep 2007 00\:17\:37 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78636 Archived-At: Bill Wohler writes: > David Kastrup wrote: > >> C-x C-f /sudo::FILE RET >> C-x C-f /ssh:SOME_REMOTE_MACHINE:FILE RET > > How about if I want to run "M-x svn-status RET / RET" as root > locally. M-x svn-status RET /sudo::/ RET > How about if I want to run "M-x svn-status RET DIRECTORY RET" as either > me or as root on a remote machine? M-x svn-status RET /ssh:root@SOME_REMOTE_MACHINE:FILE RET > Note that the remote machine is configured to not accept ssh > connections as root--you have to log in as another user first. > I tried "M-x svn-status RET /ssh:host:~wohler RET" and that produced > a view of my home directory on localhost. Then there is something wrong and you should file a proper bug report. > Also, I read in the manual (for tramp version 2.1.11) about > tramp-default-proxies-alist so that one can edit files as root on a > remote host, but that variable does not appear to be available in > tramp 2.0.55 (in Emacs 22). You can use multihop methods. -- David Kastrup