From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27959: 26.0.50; File renaming fails on sshfs Date: Fri, 04 Aug 2017 23:38:14 +0200 Message-ID: <87o9rv6mk9.fsf@amy> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501882752 10751 195.159.176.226 (4 Aug 2017 21:39:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2017 21:39:12 +0000 (UTC) To: 27959@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 04 23:39:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddkJH-0002Vq-Et for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 23:39:07 +0200 Original-Received: from localhost ([::1]:54485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddkJN-0000rd-Ny for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 17:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddkJG-0000qs-SW for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 17:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddkJC-0003n6-Tj for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 17:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddkJC-0003n0-R8 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 17:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddkJC-0005KP-KJ for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 17:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2017 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150188272320453 (code B ref -1); Fri, 04 Aug 2017 21:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Aug 2017 21:38:43 +0000 Original-Received: from localhost ([127.0.0.1]:42090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddkIt-0005Jo-0w for submit@debbugs.gnu.org; Fri, 04 Aug 2017 17:38:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddkIr-0005Jc-Ph for submit@debbugs.gnu.org; Fri, 04 Aug 2017 17:38:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddkIm-0003aO-03 for submit@debbugs.gnu.org; Fri, 04 Aug 2017 17:38:36 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ddkIl-0003aF-Sf for submit@debbugs.gnu.org; Fri, 04 Aug 2017 17:38:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddkIk-0000Sm-KU for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 17:38:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddkIg-0003YM-NX for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 17:38:34 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:41683) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddkIg-0003X1-HK for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 17:38:30 -0400 Original-Received: from cm-84.209.243.26.getinternet.no ([84.209.243.26] helo=amy) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ddkIc-00040P-5A for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 23:38:28 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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: 208.118.235.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:135362 Archived-At: /tv is mounted via sshfs. (rename-file "/tv/a.foo" "/tv/b.foo") Debugger entered--Lisp error: (file-error "Renaming" "Invalid argument" "/tv/a.foo" "/tv/b.foo") rename-file("/tv/a.foo" "/tv/b.foo") eval((rename-file "/tv/a.foo" "/tv/b.foo") nil) eval-expression((rename-file "/tv/a.foo" "/tv/b.foo") nil nil 127) funcall-interactively(eval-expression (rename-file "/tv/a.foo" "/tv/b.foo") nil nil 127) call-interactively(eval-expression nil nil) command-execute(eval-expression) But if I say larsi@amy:~$ mv /tv/a.foo /tv/b.foo on the same machine, it works fine. So ... where is the "Invalid argument" coming from? Renaming on non-sshfs file systems works fine in Emacs. In GNU Emacs 26.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-08-02 built on amy Repository revision: fe80d58ca4ead89e8887aa726482694888a8ef7f Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Ubuntu 17.04