From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter FELECAN Newsgroups: gmane.emacs.help Subject: Re: Tramp su from dired Date: Tue, 26 May 2009 18:12:26 +0200 Organization: N/A Message-ID: References: <87octjtfz6.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243372509 15907 80.91.229.12 (26 May 2009 21:15:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 21:15:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 26 23:15:08 2009 Return-path: Envelope-to: geh-help-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 1M93zH-0004si-NV for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 23:15:07 +0200 Original-Received: from localhost ([127.0.0.1]:46840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M93zG-0002UZ-Tt for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 17:15:06 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.esat.net!takemy.news.telefonica.de!telefonica.de!news.cs.univ-paris8.fr!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp4-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (usg-unix-v) Cancel-Lock: sha1:3N+fEVeLb/FhTQqN6N2yvlSFGiY= Original-Lines: 23 Original-NNTP-Posting-Date: 26 May 2009 18:13:38 MEST Original-NNTP-Posting-Host: 82.227.5.104 Original-X-Trace: 1243354418 news-1.free.fr 15316 82.227.5.104:41635 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:169502 X-Mailman-Approved-At: Tue, 26 May 2009 17:13:55 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64747 Archived-At: Tim X writes: > notbob writes: > >> As a novice emacs fan, I'm learning by using emacs primarily as a file mgr >> and file editor. I often need to edit a root file as a user and have >> usually just opened up a new session of emacs as root, but would like to >> utilize the tramp mode. I've been able to edit a root file from via tramp >> when not in dired mode, but when using e (edit) or C-x C-f in dired and then >> specifying a file -- /su::/dir/foo -- I end up opening a new foo file >> instead of the existing foo file I specified. >> >> Is it possible to do su from dired or should I just open up a non-dired >> window? If so, how? (told you I was a noob) ;) >> > Try > > C-x C-f /root@localhost:/path/to/file/owned/by/root Or C-x C-f /su::/path/to/file/owned/by/root -- the true email address is encoded in an attempt to minimize spam. pass csryrpna ng npz qbg bet through http://www.rot13.com/