Subject: Re: bug#10173: 24.0.50; TRAMP sudo method not working on OS X

From: Michael Welsh Duggan <[email-masked]>
Date: Thu, 01 Dec 2011 08:48:04 -0500

Michael Albinus <[email-masked]> writes:

> MICHAEL W DUGGAN <[email-masked]> writes:
>
>> bzr trunk revno 106562, recently bootstrapped
>>
>> emacs -Q
>> C-x C-f /sudo::/
>>
>> Fails.  Result in *Messages* buffer.  See output below for details.
>>
>> 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
>
> This command is a test about the features of your installed stat
> command. It shouldn't return an error.
>
> Could you, please, rerun the test? After starting emacs, apply
>
>   (setq tramp-verbose 6)
>
> The test results in a Tramp debug buffer, which shall show us details.

Here are the results:

;; GNU Emacs: 24.0.50.2 Tramp: 2.2.2-pre -*- mode: outline; -*-
08:43:48.435323 tramp-maybe-open-connection (3) # Opening connection for [email-masked] using sudo...
08:43:48.443636 tramp-maybe-open-connection (6) # /bin/sh -i
08:43:48.545132 tramp-wait-for-regexp (6) # 
#$ 
08:43:48.545790 tramp-maybe-open-connection (3) # Sending command `exec sudo -u root -s -H -p Password:'
08:43:48.545979 tramp-send-command (6) # exec sudo -u root -s -H -p Password:
08:43:48.546638 tramp-process-actions (3) # Waiting for prompts from remote shell
08:43:48.648495 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
08:43:48.648894 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
08:43:48.649266 tramp-process-one-action (5) # Call `tramp-action-password'
08:43:48.649615 tramp-action-password (3) # Sending Password
08:43:52.030517 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
08:43:52.030970 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
08:43:52.031265 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%>
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
08:43:52.031558 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
08:43:52.031818 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
08:43:52.032032 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
08:43:52.032264 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
08:43:52.032551 tramp-process-one-action (5) # Call `tramp-action-process-alive'
08:43:52.033331 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
08:43:52.033590 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
08:43:52.033936 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
08:43:52.034190 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
08:43:52.034450 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%>
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
08:43:52.034708 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
08:43:52.034950 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
08:43:52.035187 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
08:43:52.035420 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
08:43:52.035684 tramp-process-one-action (5) # Call `tramp-action-process-alive'
08:43:52.138363 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
08:43:52.138712 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
08:43:52.139043 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
08:43:52.139317 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
08:43:52.139615 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%>
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
08:43:52.139848 tramp-process-one-action (5) # Call `tramp-action-succeed'
08:43:52.140116 tramp-process-actions (6) # 
Password:
#$ 
08:43:52.141119 tramp-maybe-open-connection (3) # Found remote shell prompt on `mac.laptop.md5i.com'
08:43:52.141424 tramp-open-shell (5) # Opening remote shell `/bin/sh'...
08:43:52.141809 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh
08:43:52.179109 tramp-wait-for-regexp (6) # 
#$ 
08:43:52.179570 tramp-send-command (6) # PS1=\#\$\ 
08:43:52.239177 tramp-wait-for-regexp (6) # 
#$ 
08:43:52.239475 tramp-send-command (6) # PS2=''
08:43:52.339269 tramp-wait-for-regexp (6) # 
#$ 
08:43:52.339616 tramp-send-command (6) # PS3=''
08:43:52.438130 tramp-wait-for-regexp (6) # 
#$ 
08:43:52.438464 tramp-send-command (6) # PROMPT_COMMAND=''
08:43:52.539169 tramp-wait-for-regexp (6) # 
#$ 
08:43:52.539454 tramp-open-shell (5) # Opening remote shell `/bin/sh'...done
08:43:52.539676 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment
08:43:52.539945 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H'
08:43:52.639189 tramp-wait-for-regexp (6) # 
#$ 
08:43:52.639499 tramp-send-command (6) # echo foo
08:43:52.679259 tramp-wait-for-regexp (6) # 
foo
#$ 
08:43:52.679621 tramp-open-connection-setup-interactive-shell (5) # Setting shell prompt
08:43:52.680050 tramp-send-command (6) # PS1=///66d03aab532a327b639995b0be4982a7\#\$
08:43:52.738235 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:52.738480 tramp-send-command (6) # PS2=''
08:43:52.839244 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:52.839632 tramp-send-command (6) # PS3=''
08:43:52.939253 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:52.939684 tramp-send-command (6) # PROMPT_COMMAND=''
08:43:53.039165 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:53.039532 tramp-open-connection-setup-interactive-shell (5) # Determining coding system
08:43:53.039838 tramp-send-command (6) # echo foo ; echo bar
08:43:53.138856 tramp-wait-for-regexp (6) # 
foo
bar
///66d03aab532a327b639995b0be4982a7#$
08:43:53.139274 tramp-open-connection-setup-interactive-shell (5) # Setting coding system to `undecided-unix' and `iso-latin-1-unix'
08:43:53.139544 tramp-send-command (6) # set +o vi +o emacs
08:43:53.179462 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:53.179915 tramp-open-connection-setup-interactive-shell (5) # Checking system information
08:43:53.180305 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $?
08:43:53.239157 tramp-wait-for-regexp (6) # 
"Darwin 10.8.0"
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.239702 tramp-open-connection-setup-interactive-shell (5) # Checking remote host type for `send-process-string' bug
08:43:53.239984 tramp-set-remote-path (5) # Setting $PATH environment variable
08:43:53.240366 tramp-send-command (6) # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo tramp_exit_status $?
08:43:53.338411 tramp-wait-for-regexp (6) # 
"/usr/bin:/bin:/usr/sbin:/sbin"
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.359372 tramp-get-test-command (5) # Finding a suitable `test' command
08:43:53.359615 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $?
08:43:53.439071 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.439659 tramp-send-command (6) # test -d /usr/bin 2>/dev/null; echo tramp_exit_status $?
08:43:53.538308 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.539418 tramp-send-command (6) # test -d /bin 2>/dev/null; echo tramp_exit_status $?
08:43:53.639164 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.640295 tramp-send-command (6) # test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $?
08:43:53.679198 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.680465 tramp-send-command (6) # test -d /sbin 2>/dev/null; echo tramp_exit_status $?
08:43:53.738570 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.739683 tramp-send-command (6) # test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $?
08:43:53.839225 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:53.840375 tramp-send-command (6) # test -d /local/bin 2>/dev/null; echo tramp_exit_status $?
08:43:53.939202 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:53.940336 tramp-send-command (6) # test -d /local/freeware/bin 2>/dev/null; echo tramp_exit_status $?
08:43:54.039067 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:54.040185 tramp-send-command (6) # test -d /local/gnu/bin 2>/dev/null; echo tramp_exit_status $?
08:43:54.138893 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:54.140014 tramp-send-command (6) # test -d /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $?
08:43:54.179418 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:54.180637 tramp-send-command (6) # test -d /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $?
08:43:54.239185 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:54.240297 tramp-send-command (6) # test -d /usr/contrib/bin 2>/dev/null; echo tramp_exit_status $?
08:43:54.339213 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:54.339800 tramp-send-command (6) # PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin; export PATH
08:43:54.439191 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:54.439740 tramp-send-command (6) # echo ~root
08:43:54.539306 tramp-wait-for-regexp (6) # 
/var/root
///66d03aab532a327b639995b0be4982a7#$
08:43:54.539760 tramp-find-shell (5) # Remote `/bin/sh' groks tilde expansion, good
08:43:54.540060 tramp-send-command (6) # mesg n; biff n
08:43:54.639124 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:54.639529 tramp-send-command (6) # stty -oxtabs
08:43:54.679084 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:54.679629 tramp-send-command (6) # echo \"`tty`\" 2>/dev/null; echo tramp_exit_status $?
08:43:54.739253 tramp-wait-for-regexp (6) # 
"/dev/ttys004"
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:54.739711 tramp-open-connection-setup-interactive-shell (5) # Setting default environment
08:43:54.739988 tramp-send-command (6) # HISTFILE=$HOME/.tramp_history; export HISTFILE
08:43:54.839170 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:54.839565 tramp-send-command (6) # HISTSIZE=1; export HISTSIZE
08:43:54.939231 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:54.939627 tramp-send-command (6) # LC_ALL=C; export LC_ALL
08:43:55.039309 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:55.039771 tramp-send-command (6) # TERM=dumb; export TERM
08:43:55.138611 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:55.139012 tramp-send-command (6) # EMACS=t; export EMACS
08:43:55.179049 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:55.179514 tramp-send-command (6) # INSIDE_EMACS='24.0.50.2,tramp:2.2.2-pre'; export INSIDE_EMACS
08:43:55.239130 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:55.239577 tramp-send-command (6) # unset correct autocorrect MAILPATH MAILCHECK MAIL HISTORY CDPATH
08:43:55.339166 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:55.353384 tramp-maybe-open-connection (3) # Opening connection for [email-masked] using sudo...done
08:43:55.353735 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $?
08:43:55.456137 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:55.456778 tramp-send-command (6) # test -e / 2>/dev/null; echo tramp_exit_status $?
08:43:55.559185 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:55.559885 tramp-send-command (6) # test -e /\ this\ file\ does\ not\ exist\  2>/dev/null; echo tramp_exit_status $?
08:43:55.662196 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:55.662876 tramp-send-command (6) # test -e / 2>/dev/null; echo tramp_exit_status $?
08:43:55.678764 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:55.681034 tramp-get-remote-perl (5) # Finding a suitable `perl' command
08:43:55.681439 tramp-send-command (6) # which \perl5 | wc -w
08:43:55.783746 tramp-wait-for-regexp (6) # 
       0
///66d03aab532a327b639995b0be4982a7#$
08:43:55.784345 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/perl5 -a -f $d/perl5; then echo tramp_executable $d/perl5; break; fi; done <<'EOF'
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
EOF
)
08:43:55.886693 tramp-wait-for-regexp (6) # 
///66d03aab532a327b639995b0be4982a7#$
08:43:55.887301 tramp-send-command (6) # which \perl | wc -w
08:43:55.989692 tramp-wait-for-regexp (6) # 
       1
///66d03aab532a327b639995b0be4982a7#$
08:43:55.990272 tramp-send-command (6) # \perl -e 'use File::Spec;' 2>/dev/null; echo tramp_exit_status $?
08:43:56.092196 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:56.092854 tramp-send-command (6) # \perl -e 'use Cwd "realpath";' 2>/dev/null; echo tramp_exit_status $?
08:43:56.178948 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:56.179509 tramp-maybe-send-script (5) # Sending script `tramp_perl_file_name_all_completions'...
08:43:56.179988 tramp-send-command (6) # tramp_perl_file_name_all_completions () {
\perl -e 'sub case {
 my $str = shift;
 if ($ARGV[2]) {
  return lc($str);
 }
 else {
  return $str;
 }
}
opendir(d, $ARGV[0]) || die("$ARGV[0]: $!\nfail\n");
@files = readdir(d); closedir(d);
foreach $f (@files) {
 if (case(substr($f, 0, length($ARGV[1]))) eq case($ARGV[1])) {
  if (-d "$ARGV[0]/$f") {
   print "$f/\n";
  }
  else {
   print "$f\n";
  }
 }
}
print "ok\n"
' "$1" "$2" "$3" 2>/dev/null
} 2>/dev/null; echo tramp_exit_status $?
08:43:56.282551 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:56.283027 tramp-maybe-send-script (5) # Sending script `tramp_perl_file_name_all_completions'...done
08:43:56.283506 tramp-send-command (6) # tramp_perl_file_name_all_completions / '' 1
08:43:56.385166 tramp-wait-for-regexp (6) # 
./
../
.DS_Store
.file
.fseventsd/
.hotfiles.btree
.Spotlight-V100/
.SymAVx86QSFile
.Trashes/
.vol/
Applications/
bin/
cores/
dev/
Developer/
etc/
home/
Library/
mach_kernel
net/
Network/
opt/
private/
sbin/
System/
tmp/
Users/
usr/
var/
Volumes/
ok
///66d03aab532a327b639995b0be4982a7#$
08:43:56.415725 tramp-send-command (6) # test -d / 2>/dev/null; echo tramp_exit_status $?
08:43:56.518019 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:56.581283 tramp-get-ls-command-with-dired (5) # Checking, whether `ls --dired' works
08:43:56.581558 tramp-get-ls-command (5) # Finding a suitable `ls' command
08:43:56.582029 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
EOF
)
08:43:56.679624 tramp-wait-for-regexp (6) # 
tramp_executable /bin/ls
///66d03aab532a327b639995b0be4982a7#$
08:43:56.680153 tramp-send-command (6) # /bin/ls -lnd / 2>/dev/null; echo tramp_exit_status $?
08:43:56.782453 tramp-wait-for-regexp (6) # 
drwxr-xr-x  32 0  80  1156 Sep 10 11:06 /
tramp_exit_status 0
///66d03aab532a327b639995b0be4982a7#$
08:43:56.783111 tramp-send-command (6) # /bin/ls --color=never -al /dev/null 2>/dev/null; echo tramp_exit_status $?
08:43:56.885404 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:56.885985 tramp-send-command (6) # /bin/ls --dired -al /dev/null 2>/dev/null; echo tramp_exit_status $?
08:43:56.988153 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:56.988667 tramp-sh-handle-insert-directory (4) # Inserting directory `ls -al /sudo:[email-masked]:/', wildcard no, fulldir yes
08:43:56.989032 tramp-send-command (6) # /bin/ls -al /. 2>/dev/null
08:43:57.093241 tramp-wait-for-regexp (6) # 
total 77813
drwxr-xr-x   32 root  admin         1156 Sep 10 11:06 .
drwxr-xr-x   32 root  admin         1156 Sep 10 11:06 ..
-rw-rw-r--    1 root  admin        12292 Nov 27 00:17 .DS_Store
drwx------    3 root  admin          102 Jun 22 21:07 .Spotlight-V100
-rw-rw-rw-@   1 root  admin     18839848 Nov 19 01:22 .SymAVx86QSFile
d-wx-wx-wt@   2 root  _unknown        68 Apr 21  2011 .Trashes
----------    1 root  admin            0 Jun 23  2009 .file
drwx------  132 root  admin         4488 Nov 30 23:45 .fseventsd
-rw-------@   1 root  wheel       131072 Jul 23 00:09 .hotfiles.btree
drwxr-xr-x@   2 root  wheel           68 May 18  2009 .vol
drwxrwxr-x+  36 root  admin         1224 Sep 10 11:05 Applications
drwxrwxr-x@  16 root  admin          544 Jun 27 01:37 Developer
drwxrwxr-t+  57 root  admin         1938 Sep 10 11:05 Library
drwxr-xr-x@   2 root  wheel           68 Jun 23  2009 Network
drwxr-xr-x    4 root  wheel          136 Jun 27 01:50 System
drwxr-xr-x    5 root  admin          170 Jun 26 04:15 Users
drwxrwxrwt@   3 root  admin          102 Nov 19 13:26 Volumes
drwxr-xr-x@  39 root  wheel         1326 Jun 27 01:48 bin
drwxrwxr-t@   2 root  admin           68 Jun 23  2009 cores
dr-xr-xr-x    3 root  wheel         4109 Nov 19 13:26 dev
lrwxr-xr-x@   1 root  wheel           11 Jun 22 20:51 etc -> private/etc
dr-xr-xr-x    2 root  wheel            1 Nov 19 13:26 home
-rw-r--r--@   1 root  wheel     20828964 Jun  7 19:35 mach_kernel
dr-xr-xr-x    2 root  wheel            1 Nov 19 13:26 net
drwxr-xr-x    3 root  admin          102 Nov  7  2010 opt
drwxr-xr-x@   6 root  wheel          204 Jun 22 21:01 private
drwxr-xr-x@  67 root  wheel         2278 Nov 19 13:24 sbin
lrwxr-xr-x@   1 root  wheel           11 Jun 22 20:51 tmp -> private/tmp
drwxr-xr-x@  14 root  wheel          476 Jul 23 00:12 usr
lrwxr-xr-x@   1 root  wheel           11 Jun 22 20:51 var -> private/var
///66d03aab532a327b639995b0be4982a7#$
08:43:57.098115 tramp-get-remote-stat (5) # Finding a suitable `stat' command
08:43:57.098458 tramp-send-command (6) # which \stat | wc -w
08:43:57.179119 tramp-wait-for-regexp (6) # 
       1
///66d03aab532a327b639995b0be4982a7#$
08:43:57.179638 tramp-send-command (6) # \stat -c '("%N" %s)' / 2>/dev/null; echo tramp_exit_status $?
08:43:57.281870 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///66d03aab532a327b639995b0be4982a7#$
08:43:57.282293 tramp-barf-unless-okay (1) # File error: `\stat -c '("%N" %s)' /' returns with error

-- 
Michael Welsh Duggan
([email-masked])