tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.2.9-24.4); larger files give "File exists, but cannot be re


From: Michael Albinus
Subject: Re: tramp (2.2.9-24.4); larger files give "File exists, but cannot be read" message
Date: Thu, 17 Apr 2014 15:59:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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.



reply via email to

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