unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in Ange-FTP with renaming files
@ 2003-07-06 14:30 Kai Großjohann
  2003-07-06 14:48 ` Kai Großjohann
  0 siblings, 1 reply; 7+ messages in thread
From: Kai Großjohann @ 2003-07-06 14:30 UTC (permalink / raw)
  Cc: Marco Parrone

Marco has reported a Tramp bug, and I've now found out that this is
really an Ange-FTP bug: it happens even when Tramp is disabled.  Here
is Marco's description how to make it happen:

mkdir /tmp/foo-kai
echo blabla > /tmp/kais-file
emacs -q -no-site-file -nw
C-x d /ftp:marco@localhost:/tmp
[I insert the password]
I move the point on kais-file.
R /ftp:marco@localhost:/tmp/foo-kai
I move the point on foo-kai.
RET
The point is on kais-file.
R /ftp:marco@localhost:/tmp

Ok, there is the error.
Move `/ftp:marco@localhost:/tmp/foo-kai/kais-file' to `/ftp:marco@localhost:/tmp/kais-file' failed:
(ftp-error FTP Error: DIR failed: 550 /tmp/kais-file: Not a directory.)

It is important to move a file from a directory to its subdirectory,
and then back again.  Otherwise the bug does not happen.

It is really strange.  Actually, the *ftp* buffer shows that the
rename command has completed successfully; the bug happens after
this.  I'm guessing it's the dired update that causes the problem,
but I don't know how it comes about.

I shall try to investigate further, but I thought it would be good to
let you know -- more eyes find more bugs...
-- 
~/.signature

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-07  5:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-06 14:30 Bug in Ange-FTP with renaming files Kai Großjohann
2003-07-06 14:48 ` Kai Großjohann
2003-07-06 14:56   ` Kai Großjohann
2003-07-06 15:10     ` Kai Großjohann
2003-07-06 16:00       ` Kai Großjohann
2003-07-07  3:39     ` Richard Stallman
2003-07-07  5:58       ` Kai Großjohann

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).