unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: adam plaice <plaice.adam+lists@gmail.com>
Cc: 28520@debbugs.gnu.org, Paul Eggert <eggert@cs.ucla.edu>
Subject: bug#28520: 26.0.50; Dired recursive copy of directory fails
Date: Wed, 20 Sep 2017 17:33:49 +0900	[thread overview]
Message-ID: <87shfhn502.fsf@calancha-pc> (raw)
In-Reply-To: <CAJw81da=Fo=wu5fP+--0Ykhnw9iYY6DnJADaRr7ZJUrrKi+Cmw@mail.gmail.com> (adam plaice's message of "Tue, 19 Sep 2017 23:34:43 +0100")

adam plaice <plaice.adam+lists@gmail.com> writes:

> Copying a directory recursively, with dired ("C"), fails.
>
> To reproduce:
>
> mkdir test_dired_copy/a1/b -p
> cd test_dired_copy
> emacs -Q --eval '(dired ".")'
>
> In dired, execute `dired-do-copy' (kbd "C") on the `a1' directory,
> select `a2' (within the same parent directory) as the destination, and
> answer `yes' to (`Recursive copies of ...?').
>
> *Dired log* contains (in my specific case):
>
>
> Copy ‘/home/adam/test_dired_copy/a1’ to ‘/home/adam/test_dired_copy/a2’ failed:
> (file-already-exists File exists /home/adam/test_dired_copy/a2)
>
> Copy failed for 1 of 1 file
>
>
> The result is that the directory `a2' is created, but the subdirectory
> `b' is not created within it. (For repeated testing, `a2' has to be
> deleted each time.)
Thank you for the report.
It seems the bug started with commit:
Make copy-directory act like copy-file etc. (e22794867d8)





      reply	other threads:[~2017-09-20  8:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19 22:34 bug#28520: 26.0.50; Dired recursive copy of directory fails adam plaice
2017-09-20  8:33 ` Tino Calancha [this message]

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=87shfhn502.fsf@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=28520@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=plaice.adam+lists@gmail.com \
    /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).