From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#28520: 26.0.50; Dired recursive copy of directory fails Date: Wed, 20 Sep 2017 17:33:49 +0900 Message-ID: <87shfhn502.fsf@calancha-pc> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1505916881 22580 195.159.176.226 (20 Sep 2017 14:14:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2017 14:14:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 28520@debbugs.gnu.org, Paul Eggert To: adam plaice Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 20 16:14:35 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 1duflq-0005Sm-HR for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Sep 2017 16:14:34 +0200 Original-Received: from localhost ([::1]:48358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duflx-0002tu-Mn for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Sep 2017 10:14:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duf4a-0005NR-9i for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 09:29:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duf4X-0005wx-2u for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 09:29:52 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duf4W-0005q9-Bq for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 09:29:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1duaTF-0007aq-Pe for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 04:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Sep 2017 08:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28520 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28520-submit@debbugs.gnu.org id=B28520.150589644229105 (code B ref 28520); Wed, 20 Sep 2017 08:35:01 +0000 Original-Received: (at 28520) by debbugs.gnu.org; 20 Sep 2017 08:34:02 +0000 Original-Received: from localhost ([127.0.0.1]:49069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duaSI-0007ZN-N7 for submit@debbugs.gnu.org; Wed, 20 Sep 2017 04:34:02 -0400 Original-Received: from mail-pf0-f170.google.com ([209.85.192.170]:44715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duaSG-0007Ys-PI for 28520@debbugs.gnu.org; Wed, 20 Sep 2017 04:34:01 -0400 Original-Received: by mail-pf0-f170.google.com with SMTP id e1so1211519pfk.1 for <28520@debbugs.gnu.org>; Wed, 20 Sep 2017 01:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=EMn2YYj7ADBHarwal1KKHTPheWiIv3s25k69vYq4qf0=; b=qb80frcN23h/NgdIkKtUPCJTrBNfoaJDHEMj2PKuH38ZAa8kbGMYXO4qgX1B6i03TN U8uDFb+b+yPh01PvRRw8TvMfAA9YETm363TlizPw7VegHykWP2boZOuNDJiTheHhbjYf ficq3mQgER/QKbVhEAQfw0pFgL5KlYp1/5GeklwUUj6jg514wkrCW+VKwkG7b89fcOt3 CsJ5i6+npt+5iYPajX7QIB5YUZtfj5tljnzzFXgL/eN6LPbBpRtrXFWzZb2YzADB2Md/ on0UrxT+41PuXTd2CpyXskKQPtES2u06N06XYGq4MPWO4aiDHmjDgQBWO8zBeCvZQG1S q1oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=EMn2YYj7ADBHarwal1KKHTPheWiIv3s25k69vYq4qf0=; b=YED/jfzZzSzxNZph44TdkxnA9+0mL/nqocXDMswF32foXBO8grRTtqNSHtAW4yBpik EZtvQ9x/tw+FCJbayaLHLzkoKX4FdKssJdpVqvb3sUjCN3TqokMl/g42cLfbXHaTYQ6o +dTiBoYy/4OyqiN0kDhWX4Xu2dpdmGbiVFCr7zHvyNnOb2fV8kYvzfoqja9ufWMp0b4G hHBOTss3bK3xbzm7h0CIy8pfDlReioueo7WMBqOtzkIltlw7cb3kop5NqHJAJQOYBfTV mXhJVl5zx7GQkdLtNBxnef6mHThnFb4dZjULjhbyzxtgEBMrpVC4m68euFQlueQ+3KaQ y4SQ== X-Gm-Message-State: AHPjjUicog3oXEHAf7V6neaaz1E0Fr+K+JkfkWEsJRskDpWY/zM/cNLI 4fuc7P7eACEgjGqJ0i8dWBg= X-Google-Smtp-Source: AOwi7QC4Wmwdxheq4PeR233yd3gJwzDCGMKGeQ1NuDqg6L76xtV299xOhCHEoI7E1or1hCeTKyhcug== X-Received: by 10.98.196.206 with SMTP id h75mr1403815pfk.55.1505896434962; Wed, 20 Sep 2017 01:33:54 -0700 (PDT) Original-Received: from calancha-pc ([103.5.140.144]) by smtp.gmail.com with ESMTPSA id x4sm6276179pfb.101.2017.09.20.01.33.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Sep 2017 01:33:54 -0700 (PDT) In-Reply-To: (adam plaice's message of "Tue, 19 Sep 2017 23:34:43 +0100") 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:137167 Archived-At: adam plaice 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 =E2=80=98/home/adam/test_dired_copy/a1=E2=80=99 to =E2=80=98/home/ad= am/test_dired_copy/a2=E2=80=99 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)