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#28483: [PATCH] Fix copy-directory creating missing directory Date: Mon, 18 Sep 2017 17:40:15 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113d688ce91e5c05597a3ca6" X-Trace: blaine.gmane.org 1505756473 31973 195.159.176.226 (18 Sep 2017 17:41:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 17:41:13 +0000 (UTC) To: Aaron Jensen , 28483@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 18 19:41:09 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 1du02e-00080P-OH for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 19:41:09 +0200 Original-Received: from localhost ([::1]:38046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du02i-0002fP-PA for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 13:41:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du02d-0002fH-Fu for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 13:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1du02Y-0002ao-Ki for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 13:41:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1du02Y-0002ah-Fr for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 13:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1du02Y-0002sw-8X for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Sep 2017 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28483 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28483-submit@debbugs.gnu.org id=B28483.150575643611048 (code B ref 28483); Mon, 18 Sep 2017 17:41:02 +0000 Original-Received: (at 28483) by debbugs.gnu.org; 18 Sep 2017 17:40:36 +0000 Original-Received: from localhost ([127.0.0.1]:46763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du027-0002s7-Gq for submit@debbugs.gnu.org; Mon, 18 Sep 2017 13:40:36 -0400 Original-Received: from mail-io0-f172.google.com ([209.85.223.172]:55815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du024-0002rt-4Y for 28483@debbugs.gnu.org; Mon, 18 Sep 2017 13:40:33 -0400 Original-Received: by mail-io0-f172.google.com with SMTP id z187so3971798ioz.12 for <28483@debbugs.gnu.org>; Mon, 18 Sep 2017 10:40:32 -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=07gYOrF6GEH6HKsPQLy1LKedBQbzczzkfEzPyKPQZKI=; b=sOg3kquEe9b2uLmLO511m1WyWzKvaGhi1A8v80/nTQVjY6wwiEMpw3G5iaL6+qWutS xtlU8gN7OkJG2s2J2UShTLdrGe7jgZkvoIdX/U+YWP2A35rMSjAcVKD5cEnxwsORQWtH 5EQeACB+jIsPYBy2kSKYZbqSvI2ZW651nMCDQIBmAeKrlLNzlBEj4Mkz3enKATgI9aMv OlniusRV9DzmdAwFT+idchwjqrl/GsPjl9xOQkibV27omxNtQPINKOe9fQ75lDJzfQ1P e53DfY9PODSnux2mRA57/NDOSV8TUBU68Bq1sGVuYd8WBsTqFm3pDxyWS11unQk5mVjg QCGw== 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=07gYOrF6GEH6HKsPQLy1LKedBQbzczzkfEzPyKPQZKI=; b=t3jYDyelrVGx/E7GuJqQLuduI/KDokPdlYpVKmiCDxRIonOSd3YtUaEvIAqB69NwnK DIFf2syvUo/0uYmibM0QlPfaHBfBTlN+Nox3JB9byeHyv3eGP6Xm9AIbO/Eoi1/Td86f 1oDKVOhv6J8xlWbc7y/lRSqeAcPhsjm5PLVqNrQtg1FgD93vF3pFXWA2QdxlOtU74XI0 PIoyLpQKMQwvQWQETcyQifX1k4etLHgOmX/hYre1bHzls27WpGWx2J7SI6W3O1kJra/m RF5IyLifJpfLftEiImZSMY048Eixhvgv+rP3zbP1PLW4BjsGfRp84wfuWgPaezkww0Q6 AIOg== X-Gm-Message-State: AHPjjUgxtR9y5rq11On7E8f7eWiQUrmhwro1sJxv+94bZAJol+TPMtC4 G2OvatMnLzWgkmNlg4rFcXMA6uLk0to4cRbi+o4= X-Google-Smtp-Source: AOwi7QBId34TXwjtbwI3Ze2xjEsq75NHmI8Hwcb8pY6mWIL1ndI2dbF7SHYFk0kSBNn+wBRfNjHyJvQvN27AzqKVihQ= X-Received: by 10.202.66.196 with SMTP id p187mr11145953oia.52.1505756426343; Mon, 18 Sep 2017 10:40:26 -0700 (PDT) In-Reply-To: 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:137068 Archived-At: --001a113d688ce91e5c05597a3ca6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Aaron Jensen schrieb am So., 17. Sep. 2017 um 22:19 Uhr: > > I=E2=80=99m not sure what Emac=E2=80=99s principles are on it, but perhap= s an error > pointing to this change when attempting to copy to a non-existing > directory would help people in the future as well since this is a > change in behavior to an existing function w/o a deprecation. > > I think copy-directory is mostly used by libraries, so alerting the user wouldn't help: the problem is in the libraries that invoke copy-directory. That the behavior changed is unfortunate, but unavoidable due to security concerns. The behavior changes are mentioned in NEWS. --001a113d688ce91e5c05597a3ca6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --001a113d688ce91e5c05597a3ca6--