|
From: | Rob Newton |
Subject: | Re: tramp (2.2.9-24.4); larger files give "File exists, but cannot be read" message |
Date: | Fri, 18 Apr 2014 13:15:27 +1000 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Hey Michael, I made that change for scp to run in verbose mode. The debug log is attached. There appears to be a problem with escaping certain special characters in the shell command. Thanks, Rob On 17/04/14 23:59, Michael Albinus
wrote:
Rob Newton <address@hidden> writes:Michael,Hi Rob,The return code is 0. And the file is copied.Well, then we have to debug a little bit. Please apply the patch (line numbers might be slightly different): --8<---------------cut here---------------start------------->8--- *** ~/src/tramp/lisp/tramp-sh.el.~master~ 2014-04-17 15:56:00.202015651 +0200 --- ~/src/tramp/lisp/tramp-sh.el 2014-04-17 15:45:37.271177614 +0200 *************** *** 119,125 **** (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-copy-program "scp") ! (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r") ("%c"))) (tramp-copy-keep-date t) (tramp-copy-recursive t) (tramp-gw-args (("-o" "GlobalKnownHostsFile=/dev/null") --- 119,125 ---- (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-copy-program "scp") ! (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-v") ("-r") ("%c"))) (tramp-copy-keep-date t) (tramp-copy-recursive t) (tramp-gw-args (("-o" "GlobalKnownHostsFile=/dev/null") --8<---------------cut here---------------end--------------->8--- Restart Emacs, set tramp-verbose to 6. Run the test, show the debug buffer. Best regards, Michael. |
tramp-debug2.log
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |