tramp-devel
[Top][All Lists]
Advanced

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

Re: write failed software caused connection abort


From: Terrence Brannon
Subject: Re: write failed software caused connection abort
Date: Wed, 9 Nov 2011 02:05:54 -0500



On Mon, Nov 7, 2011 at 3:17 PM, Michael Albinus <address@hidden> wrote:
Terrence Brannon <address@hidden> writes:

Hi,

Hi
 
> It seems that TRAMP cannot find ls --dired on my debian/testing
> machine (the machine I am connecting to) ... however it certainly is
> there:
>
> address@hidden:~$ ls --dired
> %backup%~  admin    downloads-deluge  install    prg            wares
> Mail       bin      emacs             java-home  set-java-home
>  wp-themes
> RMAIL      daemons  emacs-contrib     keep       tmp            wtf
> RMAIL~     domains  init.d            pranayama  trunk.zip
> address@hidden:~$ 

Could you, please, check which ls is used on the remote host (in a shell
started by /bin/sh)?

# which ls

Furthermore, it might be interesting to know what happens if you apply
the following statements on your remote host in that shell:

# while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
/bin
/usr/bin
/usr/sbin
/usr/local/bin
EOF


Last login: Wed Nov  9 02:02:15 2011 from adsl-98-77-141-2.mia.bellsouth.net
address@hidden:~$ 
address@hidden:~$ /bin/sh
address@hidden:\w$ which ls
/bin/ls
address@hidden:\w$ while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
> /bin
> /usr/bin 
> /usr/sbin
> /usr/local/bin
> EOF
tramp_executable /bin/ls
address@hidden:\w$ 

 
Best regards, Michael.


reply via email to

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