Darren Embry <[email protected]> writes:

> Hello,

Hi Darren,

> Most likely this function needs to be modified a bit to handle that case:
>
>   (defun tramp-get-test-command (vec)
>    (with-connection-property vec "test"
>      (tramp-message vec 5 "Finding a suitable `test' command")
>      (if (tramp-send-command-and-check vec "test 0")
>           "test"
>        (tramp-find-executable vec "test" (tramp-get-remote-path vec)))))

"test -e" shall be called only, if the check in
`tramp-find-file-exists-command' has been passed successfully. 

> This information *should* be all you need to fix the problem.  But
> just incase... *tramp/ssh* buffer is actually empty.  And here's an
> excerpt of the *tramp/debug* buffer:

Unfortunately, this snippet does not show how Tramp decided that "test
-e" is sane. Therefore, I would like to see the *whole* trace of the
Tramp session. If it contains sensitive information, you might send it
off-list to me.

Since your cache contains already the entry ("file-exists" "test -e"),
you must purge the cache first. Apply "M-x tramp-cleanup-all-connections".

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to