[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp vs. sudo

From: Richard Riley
Subject: Re: tramp vs. sudo
Date: Wed, 22 Jun 2011 12:22:22 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Suvayu Ali <address@hidden> writes:

> On Tue, 21 Jun 2011 21:00:23 +0200
> Michael Albinus <address@hidden> wrote:
>> > Its the same here. I just assumed thats how tramp behaves with
>> > sudo.  
>> I cannot reproduce it locally. I'm running Ubuntu 11.11, and I've
>> tested it with both Emacs 23.2 and 24.0.50, calling "emacs -Q" in
>> both cases.
>> Could you, please, call Emacs the same way. *Before* you open
>> /sudo:address@hidden:/whatever you should eval 
>> (setq tramp-verbose 6)
> Strange, I can't reproduce this behaviour any more. It has been a long
> time since I used it last (AFAIR sometime in 2010). 

I get prompted twice here when opening a local file as sudo.


(defun find-alternative-file-with-sudo ()
  "Open current buffer as root!"
  (when buffer-file-name
     (concat "/sudo:address@hidden:"

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
on raven, modified by Debian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]