Subject: bug#13900: 24.3.50; tramp mode for for /su: and /sudo: on localhost

From: Michael Albinus <[email-masked]>
Date: Fri, 08 Mar 2013 08:49:35 +0100

Jason <[email-masked]>
writes:

> emacs -Q
>
> then load tramp and enable debugging:
>
> (require 'tramp)
> (setq tramp-debug-buffer t)
> (setq tramp-verbose 10)
>
> then C-x C-f /sudo:/home/jason/somefile

This is a wrong syntax. You try to connect the host "sudo" with scp. If
you want to use the sudo method, you must apply

C-x C-f /sudo::/home/jason/somefile

Best regards, Michael.