From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Shuguang Sun Newsgroups: gmane.emacs.bugs Subject: bug#35862: 27.0.50; Tramp recent changes make saving large file via tramp-copy-program fails Date: Mon, 27 May 2019 17:12:50 +0800 Message-ID: <35030.3804081463$1558948458@news.gmane.org> References: <34793.715602585$1558577482@news.gmane.org> <87ftp4ezse.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="200921"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) Cc: 35862@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 27 11:14:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVBhr-000q6q-TE for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 May 2019 11:14:12 +0200 Original-Received: from localhost ([127.0.0.1]:42393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVBhq-0008Rk-G7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 May 2019 05:14:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVBhj-0008RT-I2 for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 05:14:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVBhi-0006bM-I1 for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 05:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVBhi-0006b3-0I for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 05:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVBhh-0000NK-OG for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 05:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shuguang Sun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 May 2019 09:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35862 X-GNU-PR-Package: emacs Original-Received: via spool by 35862-submit@debbugs.gnu.org id=B35862.15589483981364 (code B ref 35862); Mon, 27 May 2019 09:14:01 +0000 Original-Received: (at 35862) by debbugs.gnu.org; 27 May 2019 09:13:18 +0000 Original-Received: from localhost ([127.0.0.1]:52619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVBgz-0000Lv-Ik for submit@debbugs.gnu.org; Mon, 27 May 2019 05:13:17 -0400 Original-Received: from smtpbgau1.qq.com ([54.206.16.166]:47736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVBgv-0000LY-Pp for 35862@debbugs.gnu.org; Mon, 27 May 2019 05:13:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1558948374; bh=JRXeurxBKwfzCFzL0IDGCbXaRWuHRnWkUAMXZVb/Vsk=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=opwi/izaE9/TOMnTgS0FAruKFIqG5A8iXW7+s/N5YAc25YJjvoZ0kQGf1AW5VIB3U bPNhjdNG0trLuGa7ZSIvlzHNl6JLlNQQbzELK5nfMDsOCup+72PZRMHrrco2wUIPWc ZYevGzCnzA96Cj3Q+R9AhJUTBFSiTb2UvclLp/l8= X-QQ-mid: esmtp2t1558948372tdf5k1ojr Original-Received: from rshmx11052 (unknown [211.144.221.1]) by esmtp4.qq.com (ESMTP) with id ; Mon, 27 May 2019 17:12:51 +0800 (CST) X-QQ-SSF: 01000000000000F0F7200600000000G X-QQ-FEAT: 1VIX1l+IGY/A13T1o86gS/MTMK4MU+ZmIdcVHKZ2FHnZmYCK+l5fDPHx2/DkM vvi61V8jh+7F+Pyb6rVF8qTSrMtLOmUFD+onD1aHgT21pjJW7U74WIlxnMVAKLi7TI98888 6WiDugq01H723lap6lih1J4/j6bUmXmUZOidAHvhsJASME0zM6MA0k67JMXuGmWK9gcHfWD oVMgTYCnaf3LnwuAU7A0tHZlELUS7eoNVTb8VPC+J48pKLQFVpMDfTCisouiBgIv5oqr8h4 f2liO08A3hpiIeNndiRqIUXopXq4zYsaTXCg== X-QQ-GoodBg: 0 In-Reply-To: <87ftp4ezse.fsf@gmx.de> (Michael Albinus's message of "Fri, 24 May 2019 15:40:33 +0200") X-QQ-SENDSIZE: 520 Feedback-ID: esmtp:qq.com:bgforeign:bgforeign2 X-QQ-Bgrelay: 1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159804 Archived-At: Thanks. It fixes it and work well. Michael Albinus writes: > Shuguang Sun writes: > >> Hi, > > Hi Shuguang, > >> The recent changes to tramp make the saving of large file (i.e., >10k, >> via tramp-copy-program) fails, with message that like no temp files and >> permission denied. It works on the version on March 3 2019, but not on >> May 19 (detailed version information at end of the message). >> >> >> Here is part of filtered message : >> >> 18:45:46.539402 tramp-do-copy-or-rename-file-out-of-band (6) # pscp -l >> username -q -r c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv >> username@host.com:/path/username/bladder_rf.csv >> c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv: No such file or directory >> c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv: No such file or directory >> 18:45:46.778053 tramp-do-copy-or-rename-file (0) # Copying >> c:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv to >> /plink:username@host.com:/path/username/bladder_rf.csv...failed > > I could reproduce it. The escaped colon in > c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv looks suspicious. > > The reason is, that `w32-shell-name' uses `shell-file-name'. The latter > variable is modified by Tramp for connection-local variables. > > I've pushed a fix to the repositories, could you pls check? > >> Best Regards, >> Shuguang > > Best regards, Michael. > -- Best Regards Shuguang Sun