all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter FELECAN <pfelecan@deadspam.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp su from dired
Date: Tue, 26 May 2009 18:12:26 +0200	[thread overview]
Message-ID: <x6zlczc07p.fsf@abhavana.free.fr> (raw)
In-Reply-To: 87octjtfz6.fsf@lion.rapttech.com.au

Tim X <timx@nospam.dev.null> writes:

> notbob <notbob@nothome.com> 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/


  reply	other threads:[~2009-05-26 16:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 23:11 Tramp su from dired notbob
2009-05-24  2:03 ` Tim X
2009-05-26 16:12   ` Peter FELECAN [this message]
2009-05-26 18:59     ` notbob
2009-05-26 19:00       ` notbob
2009-05-29 12:23       ` Peter FELECAN
2009-05-26 19:37 ` Michael Albinus

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=x6zlczc07p.fsf@abhavana.free.fr \
    --to=pfelecan@deadspam.com \
    --cc=help-gnu-emacs@gnu.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.