From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jordan Wilson Newsgroups: gmane.emacs.bugs Subject: bug#34834: 26.1; Remote `eshell/mv' and `eshell/cp' on Windows: Opening output file: Invalid argument, c:/home/ ... Date: Tue, 12 Mar 2019 21:54:00 +0000 Message-ID: <87o96f4v47.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="112868"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) To: 34834@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 12 22:59:30 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 1h3pQo-000TEX-Bo for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Mar 2019 22:59:30 +0100 Original-Received: from localhost ([127.0.0.1]:34065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3pQn-0002FZ-9L for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Mar 2019 17:59:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3pQN-0001xa-Vz for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2019 17:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3pQM-0006BQ-Vn for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2019 17:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3pQM-0006B0-Qp for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2019 17:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3pQM-000671-LF for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2019 17:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jordan Wilson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Mar 2019 21:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34834 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155242793623480 (code B ref -1); Tue, 12 Mar 2019 21:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Mar 2019 21:58:56 +0000 Original-Received: from localhost ([127.0.0.1]:40784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3pQF-00066e-R2 for submit@debbugs.gnu.org; Tue, 12 Mar 2019 17:58:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3pQE-00066R-7D for submit@debbugs.gnu.org; Tue, 12 Mar 2019 17:58:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55403) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h3pQ8-0005yo-UY for submit@debbugs.gnu.org; Tue, 12 Mar 2019 17:58:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3pQ7-0001gq-So for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2019 17:58:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3pLV-0001lz-OF for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2019 17:54:02 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:35131) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3pLV-0001km-Dy for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2019 17:54:01 -0400 Original-Received: from A715-WIN ([31.205.36.202]) by mail.gmx.com (mrgmx101 [212.227.17.174]) with ESMTPSA (Nemesis) id 0Metpl-1hNyl40VFx-00OWzs for ; Tue, 12 Mar 2019 22:53:59 +0100 X-Provags-ID: V03:K1:1g78KbFENFH1f2KR5KrBcuXz+51RireDihu5cm/YL9h2kYpWIuc Eb4dq+pvhf5ZmgGJAwn1unFBGy8Awpgrp0OjntyH7Lu/zI99amKlLJZut0lRlldKy2ZMCda ysEopIi+ePAr5g3qORWGCHqvT46ARxUCcOGD80CXHnnjbn2Y9mVk5ubZ5pJqPGpROl1rS76 Fq5MuBIw+G/tM9dOjnP7g== X-UI-Out-Filterresults: notjunk:1;V03:K0:rRUNmItpFLo=:9ulzC6fJKPjOZsUKMCEp/W HsbBPemeaYTM5CTbrbPE8W7LT6t2i11hVqBM7j08V7iy6yMq0semxd3ETLZkMdHaxQQkqzZgJ Q0G7Ub6mknc/oH7POV2gwFrb8mR1OaaQ2qEoz8fk0Yf7QNZGsHilz25y9z5BAGaxGwOOj/3m6 whXwdz9uQqNJ4pkViWY9j8oWPxxz3IuSpWI20Yb1kJ4MN33pCAvugoXlO2SuOWPSopBK6AZ5s I/j+MuRC7eoPYVvDUdBS9BrkK8HKZOCbLT+l/fYieVy3leWQdfIjP8KRTZoA7RgXEn4ENNg1Z 7lVTIf2824oOENFiyoI9MX1d5fJGmrvBKSmgJbm/Du/1B9xV+C4pAJ1jwVehZzTCDGRosVzVw G6ueViJ3pHiwusTTLPL1oRS2htWTSFzq4BO2IBcPG9/fezlRzWq3onG0iAW3w5+n8ghtM/l1L g1m+FxJ2Hi+0zGt2tF5XZH59/QKkaXIe+6mCOyRe/Z3CWhs88uqWIWOpMxGCPtxS7NXPVk1gt qkVow28LmfvJnd4D3HdM0lXbkXhcsx0sd7MIlvbeAOhgEC5QaCWAIQZKfJGwaIYaVaWlcvegU XkkGWBK/CxX50x38tF7fXeF8otqScvKyCQQMUV8iZDkBugqXB0o2lLSHKA8eCdGB0/QFW+nBd WzOHG4WBLoQNNRQMO5L+qc4xHHwiB0YXuIvInVN1uXelFvHcGSNwIegAWl7xAwOPpJBNgUElF wsx/8Bx9XydD+Psmp/FgdBXoJAp6lp5iNaSFTjQNov+U2DZ5Kt1Pl8e48uneSg5y2eZDjL0m X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:156280 Archived-At: Hi, this bug is similar to my previously reported bug #33791. I'm running Emacs 26.1 (with the patched files.el that fixed that bug[1]) on Windows 10. I've replicated this with "emacs -Q". When using eshell connected to a GNU/Linux machine, `eshell/cp' and `eshell/mv' (which are called in eshell with the commands "cp" and "mv") both return an "Invalid argument" error when the source and destination are relative paths on the remote machine. Recipe: - connect to GNU/Linux machine using plink: /plink:jordan@domain.com:/home/jordan/ - cp/mv a file between locations on the remote machine /plink:jordan@domain.com:/home/jordan $ cp file.txt directory/ - returns: Opening output file: Invalid argument, c:/plink:jordan@domain.com:/home/jordan/file.txt I'm guessing it's a problem of not correctly handling the relative TRAMP paths, as it works if provided the full paths for the source and destination. Thanks. Footnotes: [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33791;msg=34 In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-29 built on TPW550S Windowing system distributor 'Microsoft Corp.', version 10.0.17134 Recent messages: Configured using: 'configure --without-compress-install --without-dbus --with-modules 'CFLAGS= -O2 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS LCMS2 Important settings: value of $LANG: ENG locale-coding-system: cp1252 -- Jordan Wilson Sent from Gnus v5.13, GNU Emacs 26.1