From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#27959: 26.0.50; File renaming fails on sshfs Date: Sat, 05 Aug 2017 08:24:41 +0000 Message-ID: References: <87o9rv6mk9.fsf@amy> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113caa44fb44b60555fd587c" X-Trace: blaine.gmane.org 1501921581 23590 195.159.176.226 (5 Aug 2017 08:26:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 08:26:21 +0000 (UTC) To: Lars Ingebrigtsen , 27959@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 05 10:26:10 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 1dduPQ-0005T6-IY for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 10:26:08 +0200 Original-Received: from localhost ([::1]:55797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dduPW-00032l-O3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 04:26:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dduPO-00032G-30 for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 04:26:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dduPK-0002t1-1I for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 04:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39765) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dduPJ-0002sR-St for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 04:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dduPJ-0004Br-Jt for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 04:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2017 08:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27959-submit@debbugs.gnu.org id=B27959.150192150716048 (code B ref 27959); Sat, 05 Aug 2017 08:26:01 +0000 Original-Received: (at 27959) by debbugs.gnu.org; 5 Aug 2017 08:25:07 +0000 Original-Received: from localhost ([127.0.0.1]:42442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dduOM-0004Aj-U5 for submit@debbugs.gnu.org; Sat, 05 Aug 2017 04:25:06 -0400 Original-Received: from mail-oi0-f47.google.com ([209.85.218.47]:33796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dduOH-0004A8-BU for 27959@debbugs.gnu.org; Sat, 05 Aug 2017 04:25:01 -0400 Original-Received: by mail-oi0-f47.google.com with SMTP id x3so32793712oia.1 for <27959@debbugs.gnu.org>; Sat, 05 Aug 2017 01:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5NQlsCS+MzrKsziUJ27+sdpqSb+TDI1B6xQr9WHFa0I=; b=gqXxJENAdbn0DkRGK8sqnwVL51TkLzwT1SxDtLgZ1j8Yj6pIzlrMFlRKjPN96YZZ2w 246JNFNh4/YEb6a/FB0hvjXqEqapkIVw23SCvZ+FJsittIL/Uq/fYmhH4Pd4k73hlFnC wpNj9wl3rx6s6jj1wKzjJHHK//vYoj3pjGkNCAqykOK9HZnIL6RPSed9zf+VFd6CzIrK RKvnDQz/2sVV4fxEr1Os/rUcU3Lg8V6/fCrFtDrxaBvG2aldV+9TfS5bSwi7/kIHUaIa erxAy+t2wXT1MXR0u0sKeo/pIhApSCKQd+LSof/JRbnTvPpKs/4i0+MxcA8m1kFi908c 5o/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5NQlsCS+MzrKsziUJ27+sdpqSb+TDI1B6xQr9WHFa0I=; b=Rzw2Wd7EuqnGeFCtmP+9gQ3s9I+C4/E2zBzC0zgppRrypbHg0isxUMZFOs1ub6Nw4+ PfCP4ROB+mv8b00LGro/gV3JS5NRLacsa+641j++kn7jZej5ob/xF3ZpnZ0+/YlpbRQE vUd9/i47itVcSpAKUoYfV2B/NJd7aHLuhd6FbPecgqD4n9rvC6IN2u+6TAFWok35zg5t gMxU/22Zy19gqm61SQLX76JnFAScusi+789rSiotVY4GfD49VAtjScJr4jV3qmfY6+3u LUuRT7dd+iVUDJHbz/LVRfBr60XtTSbTtOTVHevVEJRJJKpEDG1dOVHvy0doI5DF0yP8 sPnw== X-Gm-Message-State: AHYfb5g19mDYOBf07VK2i5bAb9KtUE8Z0K4H8PUP1N5VAg1VYETFRlLX nXe51LN+r57XKoAkgyLf9FbWxeO8hbGp X-Received: by 10.202.182.11 with SMTP id g11mr4072607oif.60.1501921491500; Sat, 05 Aug 2017 01:24:51 -0700 (PDT) In-Reply-To: <87o9rv6mk9.fsf@amy> 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:135394 Archived-At: --001a113caa44fb44b60555fd587c Content-Type: text/plain; charset="UTF-8" Lars Ingebrigtsen schrieb am Fr., 4. Aug. 2017 um 23:39 Uhr: > > /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? > Probably more fallout of 1f9f514e7c2ba41b0954d0141f99652f6a53a107. Does it work if you compile without that commit (e.g. git reset --hard 1f9f514e7c2ba41b0954d0141f99652f6a53a107^ from a clean working directory)? --001a113caa44fb44b60555fd587c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Lars I= ngebrigtsen <larsi@gnus.org> sc= hrieb am Fr., 4. Aug. 2017 um 23:39=C2=A0Uhr:

/tv is mounted via sshfs.

(rename-file "/tv/a.foo" "/tv/b.foo")

Debugger entered--Lisp error: (file-error "Renaming" "Invali= d argument" "/tv/a.foo" "/tv/b.foo")
=C2=A0 rename-file("/tv/a.foo" "/tv/b.foo")
=C2=A0 eval((rename-file "/tv/a.foo" "/tv/b.foo") nil)<= br> =C2=A0 eval-expression((rename-file "/tv/a.foo" "/tv/b.foo&q= uot;) nil nil 127)
=C2=A0 funcall-interactively(eval-expression (rename-file "/tv/a.foo&q= uot; "/tv/b.foo") nil nil 127)
=C2=A0 call-interactively(eval-expression nil nil)
=C2=A0 command-execute(eval-expression)

But if I say

larsi@amy:~$ mv /tv/a.foo /tv/b.foo

on the same machine, it works fine.=C2=A0 So ... where is the "Invalid=
argument" coming from?

Probably more fallout of 1f9f514e7c2ba41b0= 954d0141f99652f6a53a107. Does it work if you compile without that commit (e= .g. git reset --hard 1f9f514e7c2ba41b0954d0141f99652f6a53a107^ from a clean= working directory)?=C2=A0
--001a113caa44fb44b60555fd587c--