X-Loop: help-debbugs@HIDDEN Subject: bug#11449: RFE: support `install -D` with directory target Resent-From: Jan Engelhardt <jengelh@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-coreutils@HIDDEN Resent-Date: Fri, 11 May 2012 01:42:02 +0000 Resent-Message-ID: <handler.11449.B.133670050024775 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 11449 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 11449 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.133670050024775 (code B ref -1); Fri, 11 May 2012 01:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2012 01:41:40 +0000 Received: from localhost ([127.0.0.1]:47284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SSerT-0006RX-Pg for submit <at> debbugs.gnu.org; Thu, 10 May 2012 21:41:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50197) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jengelh@HIDDEN>) id 1SSeS8-0005qH-LP for submit <at> debbugs.gnu.org; Thu, 10 May 2012 21:15:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jengelh@HIDDEN>) id 1SSeRz-00052A-II for submit <at> debbugs.gnu.org; Thu, 10 May 2012 21:15:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jengelh@HIDDEN>) id 1SSeRz-00051x-Ex for submit <at> debbugs.gnu.org; Thu, 10 May 2012 21:15:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jengelh@HIDDEN>) id 1SSeRx-00087M-Ld for bug-coreutils@HIDDEN; Thu, 10 May 2012 21:15:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jengelh@HIDDEN>) id 1SSeRv-000518-US for bug-coreutils@HIDDEN; Thu, 10 May 2012 21:15:17 -0400 Received: from seven.medozas.de ([188.40.89.202]:46677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jengelh@HIDDEN>) id 1SSeRv-00050m-OI for bug-coreutils@HIDDEN; Thu, 10 May 2012 21:15:15 -0400 Received: by seven.medozas.de (Postfix, from userid 25121) id 1FD2E21A0C32; Fri, 11 May 2012 03:15:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by seven.medozas.de (Postfix) with ESMTP id E7A7B21A0C30 for <bug-coreutils@HIDDEN>; Fri, 11 May 2012 03:15:11 +0200 (CEST) Date: Fri, 11 May 2012 03:15:11 +0200 (CEST) From: Jan Engelhardt <jengelh@HIDDEN> Message-ID: <alpine.LNX.2.01.1205110308420.24557@HIDDEN> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-Mailman-Approved-At: Thu, 10 May 2012 21:41:38 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.2 (------) Hi. Using cp, one can for example execute cp foo/bar.txt /tmp/foo/ to have /tmp/foo/bar.txt in place after a successful copy operation, provided the directory /tmp/foo exists. If it does not, one has to mkdir it beforehand naturally. I thought that using `install -D` would remedy this, however found that, in coreutils up to including 8.16, install -D foo/bar.txt /tmp/foo/ is not implemented - the program returns the error install: target `/tmp/foo/' is not a directory: No such file or directory On the other hand, the following command succeeds: install -D foo/bar.txt /fmp/foo/bar.txt Specifying the file's basename again on the target side argument (/tmp/foo/bar.txt) seems redundant, given install is "just a spruced-up cp". Would you consider enhancing install to support "/tmp/foo/"? thanks, Jan
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jan Engelhardt <jengelh@HIDDEN> Subject: bug#11449: Acknowledgement (RFE: support `install -D` with directory target) Message-ID: <handler.11449.B.133670050024775.ack <at> debbugs.gnu.org> References: <alpine.LNX.2.01.1205110308420.24557@HIDDEN> X-Gnu-PR-Message: ack 11449 X-Gnu-PR-Package: coreutils Reply-To: 11449 <at> debbugs.gnu.org Date: Fri, 11 May 2012 01:42:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 11449 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 11449: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11449 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 16 Oct 2018 16:20:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 16 12:20:00 2018 Received: from localhost ([127.0.0.1]:53845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gCS4e-00012i-04 for submit <at> debbugs.gnu.org; Tue, 16 Oct 2018 12:20:00 -0400 Received: from mail-pl1-f179.google.com ([209.85.214.179]:35597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gCS4c-00012L-HK for control <at> debbugs.gnu.org; Tue, 16 Oct 2018 12:19:58 -0400 Received: by mail-pl1-f179.google.com with SMTP id f8-v6so11275664plb.2 for <control <at> debbugs.gnu.org>; Tue, 16 Oct 2018 09:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=Vj92gVdwt5V/h0IQkshsSiE3YYnjxAerrxfwOPVoe2E=; b=c8LgEeAwrtI7j6+tbejch5JKAdi6He97P/NtWVavB1530S9DwaupqEHLQ46hz+/X5i DjmW0bINUaZ53E5//L6dNnJCunwfvVXaV3Vb3/QVif0fVibLcMVD7ZJm3dgPTp9rFfv0 ap5FXrJaQKNhufUPfSZ7zL6ivVeB7lQn9b+8T5AQeSsUsqddiqLrxhcR7Hp7GH9gChZM JvGtA+0hJLr7ZkcdOiaZV0fMWuqeOSuwWcJma/wKSgF4jZmrkIjOWbJjRvb0Dl/E9ZYP c+esnNwIfW5yEKvqeIYPHXQbpPPqpqZRZWk69QU5QnntCPgM2N6e83PJGZR3Rv0TJSv9 kfMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=Vj92gVdwt5V/h0IQkshsSiE3YYnjxAerrxfwOPVoe2E=; b=FbqvgroT42xltWDid+zE+zgi/OgRVaYN9Ubv4xw6ViJMGmwB+zJWKuExA933zN4yNR WoPVXe8DxWjrY7MbFZP0OqL0K+2TR2ljpaJUUbgNtRvdh5aZwVnrSjP3Qr8v38ah0Xk/ 1akriUdkgZ15W1ly8SD8/R0CIWN50eor+v6Go8KT29sRMtwu2JEL2A2tauy1KzFB0T53 XzyG0cexgkF5nkcqOzzymxekNbtLRy/nJ1yrvgge4e8hQIeSw6rumuMInZ/cCtgXQfHM aQPba8YD1oD6ZoeE46Z/elkS0Ocwb83sf+4sB1PQfMJ2mbXVNAhytxvUZVqhkSLbuHFJ 1cag== X-Gm-Message-State: ABuFfohz9Z09FpIFiOi8HQeYSOQBOd7OiiBxvkJZsaXoJBTdhN+OR8Ww rNjhBdy4D6tdXGDX5vz+iRHt7Uz4ZTQ= X-Google-Smtp-Source: ACcGV61btTShRjl9t4Xe+vetSZhNRWin0ScDt09zJMG/cf/+bxOt4l4dB+dRv2nPKgYCYVsgCgMMWg== X-Received: by 2002:a17:902:2907:: with SMTP id g7-v6mr22120821plb.201.1539706791857; Tue, 16 Oct 2018 09:19:51 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id o12-v6sm16210065pgv.7.2018.10.16.09.19.49 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Oct 2018 09:19:50 -0700 (PDT) To: control <at> debbugs.gnu.org From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <5d21f43a-23e4-3afb-9534-de3912563f3f@HIDDEN> Date: Tue, 16 Oct 2018 10:19:49 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 11449 wishlist retitle 11449: install: support `install -D` with directory target [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.179 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.179 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) severity 11449 wishlist retitle 11449: install: support `install -D` with directory target
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.