Subject: 24.0.50; TRAMP sudo method not working on OS X

From: MICHAEL W DUGGAN <[email-masked]>
Date: Wed, 30 Nov 2011 15:18:51 -0500

bzr trunk revno 106562, recently bootstrapped

emacs -Q
C-x C-f /sudo::/

Fails.  Result in *Messages* buffer.  See output below for details.

In GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36)
of 2011-07-23 on MICHAEL-W-DUGGANs-MacBook-Pro.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f / s u d o : : / <return> C-x b <return> ESC 
x r e p o r t - e m <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading tramp-sh...done
Tramp: Opening connection for [email-masked] using sudo...

Opening connection for [email-masked] using sudo... \
Tramp: Opening connection for [email-masked] using sudo...done
ls does not support --dired; see `dired-use-ls-dired' for more details.
byte-code: `\stat -c '("%N" %s)' /' returns with error

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message rfc822 mml easymenu mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev mail-utils gmm-utils mailheader emacsbug dired tramp-cache
tramp-sh shell pcomplete comint ring tramp tramp-compat auth-source
eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util
mm-util mail-prsvr password-cache format-spec advice help-fns
advice-preload tramp-loaddefs regexp-opt time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind ns
multi-tty emacs)