From: Lars Ingebrigtsen <larsi@gnus.org>
To: 27959@debbugs.gnu.org
Subject: bug#27959: 26.0.50; File renaming fails on sshfs
Date: Fri, 04 Aug 2017 23:38:14 +0200 [thread overview]
Message-ID: <87o9rv6mk9.fsf@amy> (raw)
/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
next reply other threads:[~2017-08-04 21:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-04 21:38 Lars Ingebrigtsen [this message]
2017-08-05 8:24 ` bug#27959: 26.0.50; File renaming fails on sshfs Philipp Stephani
2017-08-05 9:24 ` Lars Ingebrigtsen
2017-08-05 18:51 ` Lars Ingebrigtsen
2017-08-05 20:59 ` Paul Eggert
2017-08-05 21:09 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9rv6mk9.fsf@amy \
--to=larsi@gnus.org \
--cc=27959@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).