GNU bug report logs - #73875
cp: there isn't even an option to quit on errors

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: Dan Jacobson <jidanni@HIDDEN>; dated Sat, 19 Oct 2024 07:47:01 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at 73875 <at> debbugs.gnu.org:


Received: (at 73875) by debbugs.gnu.org; 25 Oct 2024 22:32:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 25 18:32:55 2024
Received: from localhost ([127.0.0.1]:39747 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t4SrX-0004r7-Lu
	for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 18:32:55 -0400
Received: from skyblue.cherry.relay.mailchannels.net ([23.83.223.167]:43737)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1t4SrU-0004qy-M9
 for 73875 <at> debbugs.gnu.org; Fri, 25 Oct 2024 18:32:53 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 07F827836A9;
 Fri, 25 Oct 2024 22:32:19 +0000 (UTC)
Received: from pdx1-sub0-mail-a287.dreamhost.com
 (trex-3.trex.outbound.svc.cluster.local [100.99.188.146])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id ABE9A783516;
 Fri, 25 Oct 2024 22:32:18 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1729895538; a=rsa-sha256;
 cv=none;
 b=5hMoIs/xb0hXwYMPCyPpGXDb5B8/xGHJzflI1Zygbe1avPosJLAJ8PeFzV/Qf/pzG7tvxf
 Q/dKFcANf9FSCmRkp9aEx17yl8TC2aOeEZT/xiHbmq6I3xD+3rffFJ/zeYsLh3ZdUdbQ2n
 NouHOl9oLHeQMK5Z8jhZZGgbUtFriV7BTBeo6MzQCwqGivxhUv/aFNY4DbHXBXNc6ns0s3
 +KBYlAjONiXw/4K/IhkA2b69Dl3fxoTdgsiT1OKf5QP9+1Imm736DJ8nKWgJy++gmGqilH
 QRmTMLkjEgqQnLCXTwjsxfQaJip410XSOJoKiY5WlyTBi5myyPQMvCrPYXyMSQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1729895538;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 references:references:dkim-signature;
 bh=WSa+CyHJoF7/uJ3v4JkZyNNq4XxEXmURHgJ3CT71FWY=;
 b=4n8HlcIJnM63TDZaLomzd4BDFqUgGCRKMdNhfHGOQxLb/Yaahsduy1/UlpKJkgbUvnw+rh
 BgfioXsln6jdT2Y41dfylEofvFdyO18JpdTIVK3Q/vZ97Hmv6orkm5frUTDCcmM7isAj/A
 Q/6wckPrcVvhSfR57xjjtXtSoP/ZGV6zx9cPpp6FeL/i4/EbzK+fs6tw15rzMGRQR15UZ7
 ERFo0aD/vS1rLGKlHaWx/g2j3JxuRHbZbFoE8h/AsKEvV7DBWZdaHCn7x6HkSMxjUfVXkB
 jUOZPzJr5ECwB/BrkxsNDe3ENqksS0uTTl4j/8fQ9jcKQwm9lH2qz9fWl6ELlA==
ARC-Authentication-Results: i=1; rspamd-7fb5679c85-q9vff;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Cold-Keen: 59d4f3ce7abc635b_1729895538903_2135748140
X-MC-Loop-Signature: 1729895538903:4194957599
X-MC-Ingress-Time: 1729895538903
Received: from pdx1-sub0-mail-a287.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.99.188.146 (trex/7.0.2); Fri, 25 Oct 2024 22:32:18 +0000
Received: from jidanni.org (1-165-167-217.dynamic-ip.hinet.net [1.165.167.217])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a287.dreamhost.com (Postfix) with ESMTPSA id 4XZyFt3x7vz6j; 
 Fri, 25 Oct 2024 15:32:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org;
 s=dreamhost; t=1729895538;
 bh=WSa+CyHJoF7/uJ3v4JkZyNNq4XxEXmURHgJ3CT71FWY=;
 h=From:To:Cc:Subject:Date:Content-Type;
 b=MlDbEY9nNzv1KESpM9KUNq89Ool5LAP3NkSGEmTrQ1LEhxEIStn9szAoVCvkUn/Cl
 PYyLv6hbVuWiBT3dFVk0XISDsowAwRmOOAP36Jps1DJFQTWpKI0F6IOweitNhcYTSv
 jKr1TCKA2f0QnjtQfuI0QXvP+g/+/1bCYBQCkwTZ6wvXDzYUfeSnYifjiHlVgbouxk
 73FMe1i/rUIDakti18HSx/2mA7phjl+Y+6QunoZGaEC/P5D7dMYFfKCKSwSMxvaKLa
 wD3M0sGy6j8gD1z+Z+cWB6joR2Gx8O59skiq0u8yPLkl7ZcrJ2Ygt9t7lgbaZ6Psfb
 vcaLkbrpZ+raA==
Received: from jidanni by jidanni.org with local (Exim 4.96)
 (envelope-from <jidanni@HIDDEN>) id 1t4Sqt-0001o8-0a;
 Sat, 26 Oct 2024 06:32:15 +0800
From: Dan Jacobson <jidanni@HIDDEN>
To: =?utf-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Subject: Re: bug#73875: cp: there isn't even an option to quit on errors
References: <874j58pmce.3.fsf@HIDDEN>
 <debc7186-eac3-4c5d-9715-b4b0940c3900@HIDDEN>
Date: Sat, 26 Oct 2024 06:32:15 +0800
Message-ID: <87wmhvrez4.3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73875
Cc: 73875 <at> debbugs.gnu.org
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 (-)

Even if it does exit 1,
it doesn't stop at the first sign of damage.
Sort of like "Mom's going to find out anyway, so we might as well eat
even more cookies."
P.S., I made https://github.com/RsyncProject/rsync/issues/654




Information forwarded to bug-coreutils@HIDDEN:
bug#73875; Package coreutils. Full text available.

Message received at 73875 <at> debbugs.gnu.org:


Received: (at 73875) by debbugs.gnu.org; 20 Oct 2024 17:48:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 20 13:48:22 2024
Received: from localhost ([127.0.0.1]:48373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t2a2Q-00048z-5r
	for submit <at> debbugs.gnu.org; Sun, 20 Oct 2024 13:48:22 -0400
Received: from mail-lf1-f50.google.com ([209.85.167.50]:53614)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pixelbeat@HIDDEN>) id 1t2a2N-00048j-Qh
 for 73875 <at> debbugs.gnu.org; Sun, 20 Oct 2024 13:48:20 -0400
Received: by mail-lf1-f50.google.com with SMTP id
 2adb3069b0e04-539f58c68c5so5371146e87.3
 for <73875 <at> debbugs.gnu.org>; Sun, 20 Oct 2024 10:47:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1729446408; x=1730051208; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :sender:from:to:cc:subject:date:message-id:reply-to;
 bh=TZR939EM7HZJGQ/Hud384sFFjiQj/NFccfe19fV8CqA=;
 b=eBIfomySKT3kIazdHPUB+rDWGA08BHZ0+9WlD1FhN9AIHErcf55Xh4JOjBxXdUxpEV
 kTHGnX9auoawCcYHNIms/lBqxrNMilLHS2dBXU6SHy7p9ucfuzKIrqGCLqRQ2GuHTthK
 AgNDCu9IqCpJ3ij+oYlp1hjLxl6nf1MDS8brcBVkbUEOlOwhy2Owb3HJpMxO7m0J8uSg
 oi55mcDzz0YhKpklGiD4EOUoc2WJUEr+/EZrntRATb8JJl8/kdQyjuqliO71A07h5dfZ
 Zm533FGWdzNntSvwPPqx/klBkpMBxLokWCbLuWj8d2XAdpyq0HdUeNlLHcUuAs2v4nZ7
 OQFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1729446408; x=1730051208;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :sender:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=TZR939EM7HZJGQ/Hud384sFFjiQj/NFccfe19fV8CqA=;
 b=dv55YHaUIi9trWNrlUV8SMo9y9scSR7tuZj+pgoHZ7yv4OCwlIAJXZ8aSfXX3fE7z1
 8blKAfoLCycjFBke1FN5l/1YJDxYVQ9LsWfoxRvswssEqQspZWMpSAE/d8hC3hPt6ORQ
 UXsRxD0AxvNfbbYbwNVzJjlvx5c4GXoflUP+sNYUZQGHTJ3xrGcVBxbcWKIE5dXdiQaR
 WeNZ/pEzWBuqnzW2HqiCTlbDKg6KytAKx5/5M2N21O4x2C4xEYggtDz28wXTlths/o9E
 TI5YMG7M//ZxBjC96rOgTuTYgUd/ThEmyDJU7sAqHzq5NBuXAFcbfbCNsyfHTUbS+x8i
 8GSg==
X-Gm-Message-State: AOJu0YzRPhFvL/dI/VsSINsMxHbBhogpLWB+4KSm5d0UytCwlk6lpmOU
 vG2mS1gnchsRBAYndse+WFlz7J/OVzmiN9Uc2yZ0Gfhq1F8dwNiv3yAA7A==
X-Google-Smtp-Source: AGHT+IEJMBaT52ypOFQ9Z5SAOeBTkO76nKqTONssCLbaF3mZsmiTUp18/WfYBlNCwEZpjq4d1j+4HA==
X-Received: by 2002:a05:6512:3da3:b0:535:6925:7a82 with SMTP id
 2adb3069b0e04-53a154ca7e5mr7086112e87.41.1729446407785; 
 Sun, 20 Oct 2024 10:46:47 -0700 (PDT)
Received: from [192.168.1.78]
 (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146])
 by smtp.googlemail.com with ESMTPSA id
 a640c23a62f3a-a9a915993basm109482166b.203.2024.10.20.10.46.45
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 20 Oct 2024 10:46:46 -0700 (PDT)
Message-ID: <32816bb3-df1f-4a29-bde8-774cb56757d0@HIDDEN>
Date: Sun, 20 Oct 2024 18:46:45 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird Beta
Subject: Re: bug#73875: cp: there isn't even an option to quit on errors
To: Dan Jacobson <jidanni@HIDDEN>
References: <874j58pmce.3.fsf@HIDDEN>
 <debc7186-eac3-4c5d-9715-b4b0940c3900@HIDDEN>
 <878quiam7y.3.fsf@HIDDEN>
Content-Language: en-US
From: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@HIDDEN>
In-Reply-To: <878quiam7y.3.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 73875
Cc: 73875 <at> debbugs.gnu.org
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: -0.7 (/)

On 20/10/2024 15:21, Dan Jacobson wrote:
> Well OK, it is creating an unusable copy, and probably doesn't
> even return an error to the calling shell.
> 
> So Makefiles using it will go on to the next step... with the final
> result being missing files, discovered just minutes away from the boss's
> big ceremony...

Any error is propagated to the exit status,
so one can always determine if any part of the copy fails.

cheers,
Pádraig.




Information forwarded to bug-coreutils@HIDDEN:
bug#73875; Package coreutils. Full text available.

Message received at 73875 <at> debbugs.gnu.org:


Received: (at 73875) by debbugs.gnu.org; 20 Oct 2024 14:22:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 20 10:22:30 2024
Received: from localhost ([127.0.0.1]:47955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t2WpA-0002UG-1W
	for submit <at> debbugs.gnu.org; Sun, 20 Oct 2024 10:22:30 -0400
Received: from frog.ash.relay.mailchannels.net ([23.83.222.63]:19881)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1t2Wp2-0002Ti-7G
 for 73875 <at> debbugs.gnu.org; Sun, 20 Oct 2024 10:22:24 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 5350A8C2E91;
 Sun, 20 Oct 2024 14:21:53 +0000 (UTC)
Received: from pdx1-sub0-mail-a246.dreamhost.com
 (100-99-209-111.trex-nlb.outbound.svc.cluster.local [100.99.209.111])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id ADD5A8C22AE;
 Sun, 20 Oct 2024 14:21:52 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1729434112; a=rsa-sha256;
 cv=none;
 b=dZOu5f/fVNsw2OY8n46EO/cST3TpylcGuXxQO6DxtRBrYdlFLCaRwJ9PYAZHqo8MRI863B
 8F+01afhNeTDOBKFNVeFH6Q/xA862wFSs0dos5dSiAQ55TkF/BMsAQmmByaJlS+wjmsAf9
 4+jeZQ7MSKuyP03aUtU7P0p8eEqgXBrZYypWMplh71NlDZ08qCmyVapsehlU1xBE52empz
 LGV6Fckeu4mkFyoyZLkedW+/v681ZIbT0eW6KBw9hjSYiCgIp97oRmPuZwxnMEgnEiAYJd
 G869Mx4pF7F0MSIGSAwnNt8o71OJFMXKtDezrNeGDK2zfr4uHQtOyJHV0MHoGQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1729434112;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 references:references:dkim-signature;
 bh=Llr4lpPB1XlteyZWRXQFRIujGjI0KRlBq9Gx9MSOCqc=;
 b=pkSrFl+CCyzfpI/bAS2P+hnLZeUREeUW6EpZTCJ47GSB52c+c1QwgEA9W1wYYCi9LuYOmn
 f4vdfM1XdaiTSf2PWdnlOsifncJXAq7qkznAZp/kqvV+1r3lrkpI+xD550PVW7qf0/bezC
 Tsi4bPBJHJqfRbP+lhkMpTdHC73E3e0BdvIZmGkQAuXMbnSEZH8XzwwL7nJwzo4C65Rk8q
 2XdBrk8iC0EzmHhKXO+BEOLy98ddQuH9QFMRPPMpHRjSQ26FkH5ZVdKJb0IukPL/YQbCaO
 lzuGwXzwF8QRke3Pp1U4tWrWHMTBgLRZcIHUqoRGxrkQkqpFyS+VkpCl1LFcQA==
ARC-Authentication-Results: i=1; rspamd-75d86777c9-7msqt;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Bubble-Inform: 5515cbd56566d3eb_1729434113047_3054106683
X-MC-Loop-Signature: 1729434113047:752257654
X-MC-Ingress-Time: 1729434113047
Received: from pdx1-sub0-mail-a246.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.99.209.111 (trex/7.0.2); Sun, 20 Oct 2024 14:21:53 +0000
Received: from jidanni.org (1-165-250-23.dynamic-ip.hinet.net [1.165.250.23])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a246.dreamhost.com (Postfix) with ESMTPSA id 4XWgcJ3qcMz93; 
 Sun, 20 Oct 2024 07:21:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org;
 s=dreamhost; t=1729434112;
 bh=Llr4lpPB1XlteyZWRXQFRIujGjI0KRlBq9Gx9MSOCqc=;
 h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding;
 b=tKiXfRZEuPaVzYWTr3rrC/GM6LtJ367vEVaKRvteJr1IhoeKVt8BDWXWhLnO5OGoM
 PkZewNLJYeW1Q+qB0kZxo6L3rnF/3ICx/lebNFKhXDWQ4waxUY7Qx3uRXcCP17tEc5
 pvvYYsIxDK2aQJxByFCwYwys3GDn/SQ10y5KPtBTESbhXcNJ/wt/CK7HjyFvdHGiGW
 r9gvN5S6z30K1zFKyeUEwFRGp7eDAp4cE9DrT8vBSIZGp03lkBjf0jeYa67HP+2Yot
 Wm3mu3ngkbXxOjsOa662tPdH4QI2KuWjAkcFknAmT2WqwWr2iFVn9FptwMqSImPAfl
 PqwyavRFiFtOQ==
Received: from jidanni by jidanni.org with local (Exim 4.96)
 (envelope-from <jidanni@HIDDEN>) id 1t2Wob-0001lz-1v;
 Sun, 20 Oct 2024 22:21:53 +0800
From: Dan Jacobson <jidanni@HIDDEN>
To: =?utf-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Subject: Re: bug#73875: cp: there isn't even an option to quit on errors
References: <874j58pmce.3.fsf@HIDDEN>
 <debc7186-eac3-4c5d-9715-b4b0940c3900@HIDDEN>
Date: Sun, 20 Oct 2024 22:21:53 +0800
Message-ID: <878quiam7y.3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73875
Cc: 73875 <at> debbugs.gnu.org
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 (-)

Well OK, it is creating an unusable copy, and probably doesn't
even return an error to the calling shell.

So Makefiles using it will go on to the next step... with the final
result being missing files, discovered just minutes away from the boss's
big ceremony...

>>>>> "PB" == Pádraig Brady <P@HIDDEN> writes:
PB> Well POSIX states that cp should continue upon failure to create a symlink.
PB> An exit early option may be useful.
PB> I don't see such an option with rsync either though, so I'm not sure how generally useful it is.

OK, I'll tell them to add it to rsync too.




Information forwarded to bug-coreutils@HIDDEN:
bug#73875; Package coreutils. Full text available.

Message received at 73875 <at> debbugs.gnu.org:


Received: (at 73875) by debbugs.gnu.org; 20 Oct 2024 13:06:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 20 09:06:51 2024
Received: from localhost ([127.0.0.1]:46292 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t2Vdz-0006mX-5G
	for submit <at> debbugs.gnu.org; Sun, 20 Oct 2024 09:06:51 -0400
Received: from mail-ed1-f41.google.com ([209.85.208.41]:55785)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pixelbeat@HIDDEN>) id 1t2Vdx-0006mK-NR
 for 73875 <at> debbugs.gnu.org; Sun, 20 Oct 2024 09:06:50 -0400
Received: by mail-ed1-f41.google.com with SMTP id
 4fb4d7f45d1cf-5c9693dc739so4723627a12.3
 for <73875 <at> debbugs.gnu.org>; Sun, 20 Oct 2024 06:06:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1729429518; x=1730034318; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :sender:from:to:cc:subject:date:message-id:reply-to;
 bh=Gl2g7Yl6VWrJ7MRtDkGXV70Z61qILA2/9WYQpHbzHpc=;
 b=W8lrbMeZlKaCedzaW5In8u8DUTRd/Ggn+USCD75IZl8tsv5fb4rdCBDsl2Ik3tCoxZ
 wKaFESyD+L6L22yK9MOPj0Vy9r8ErMNagaXNXuHSLzL85EaSippVn9TEOLxMqixFCw48
 y0Q173A64HGzMjJi6dVCHdIpZOOhDYZprQseu6kPQirAFaCSZhoL1UhX4e1e0y6RV7Cu
 7gh8vmLylCezXp4eWJ20xhInLV3z8bEClYkgJh3FkYiQ2rrjusfcQDRwjo1CxWWA9aDx
 9LUb2x7kwNyjDe5jzAbRcmM5vWzFgeTpguPDkzhpu4DvgZ5tO5x7EEK/NxMGkYBVsb9h
 7auw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1729429518; x=1730034318;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :sender:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=Gl2g7Yl6VWrJ7MRtDkGXV70Z61qILA2/9WYQpHbzHpc=;
 b=ZP2FbfWOv5M+LiHM2dDcxvUqfqBVbaJkpyV9Y52QrFpBi6IdsogCcJJzBAgeyfVi7q
 USKBCftM3zc+UK3iQPHWd7ETGcG/b0z64mTYOWd7EOu0GlHM8ycBqj4AIQAewlZ8rWWX
 v4FNNhWsuTnmIwuWkpmZu8zcqQnPq/T7X8ifm24P/X6n7+Ua2Ssu8FuVv0y2X299f7qF
 /xHsyoQ3x0mio7+C+aSgGIItH2Y5JGYR7zH0Tv6rFfVd2pyl8fiAfBsCN1yqNZFKma38
 5OMwzKW3RsJrDeDIorbz4aUhLO6yOf2LwsII0WRbaHzrFoIzaxlGn0FLKekxbrcsswzy
 iCAQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCUtpIvviG9kVI2Pse/qG2aXpKLFXOAKKkAwM6O9YULaSNZDATIVYGiCMDW88scQfYim4boO9w==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yz/Einh4xceAaUBfWEqu0lGCe5CSoXTD1B9CfnBQIfWKVGod5hL
 ouZWbyzob+3ELbdri+KJWSOz/p9E7pyMWSDtpnUjHZMQST35Ev4WqTGNQg==
X-Google-Smtp-Source: AGHT+IGURkuop08JowzXnEbr33dtkLro12GTaAHWMfV8EA59uhHISFwL0DsdLg7yYAABKigzXZqd3g==
X-Received: by 2002:a05:6402:5110:b0:5c9:367a:68d9 with SMTP id
 4fb4d7f45d1cf-5ca0ac6043fmr4936345a12.15.1729429517982; 
 Sun, 20 Oct 2024 06:05:17 -0700 (PDT)
Received: from [192.168.1.78]
 (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146])
 by smtp.googlemail.com with ESMTPSA id
 4fb4d7f45d1cf-5cb66a654a2sm883536a12.38.2024.10.20.06.05.16
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 20 Oct 2024 06:05:17 -0700 (PDT)
Message-ID: <debc7186-eac3-4c5d-9715-b4b0940c3900@HIDDEN>
Date: Sun, 20 Oct 2024 14:05:15 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird Beta
Subject: Re: bug#73875: cp: there isn't even an option to quit on errors
To: Dan Jacobson <jidanni@HIDDEN>, 73875 <at> debbugs.gnu.org
References: <874j58pmce.3.fsf@HIDDEN>
Content-Language: en-US
From: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@HIDDEN>
In-Reply-To: <874j58pmce.3.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 73875
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: -0.7 (/)

On 19/10/2024 08:45, Dan Jacobson wrote:
> $ cp -a /usr/share/doc/qpdf/manual-html/ ~/Downloads/
> cp: cannot create symbolic link '/home/jidanni/Downloads/manual-html/_static/css/badge_only.css': Permission denied
> cp: cannot create symbolic link '/home/jidanni/Downloads/manual-html/_static/css/theme.css': Permission denied....
> 
> It just keeps rolling on. No way to quit except ^C.
> 
> $ cp --version
> cp (GNU coreutils) 9.4

Well POSIX states that cp should continue upon failure to create a symlink.
An exit early option may be useful.
I don't see such an option with rsync either though, so I'm not sure how generally useful it is.

cheers,
Pádraig




Information forwarded to bug-coreutils@HIDDEN:
bug#73875; Package coreutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Oct 2024 07:46:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 19 03:46:10 2024
Received: from localhost ([127.0.0.1]:41196 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t24A6-0000d9-MP
	for submit <at> debbugs.gnu.org; Sat, 19 Oct 2024 03:46:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:42044)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1t24A3-0000cx-R8
 for submit <at> debbugs.gnu.org; Sat, 19 Oct 2024 03:46:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1t249f-0005GB-OQ
 for bug-coreutils@HIDDEN; Sat, 19 Oct 2024 03:45:43 -0400
Received: from fly.ash.relay.mailchannels.net ([23.83.222.61])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1t249c-0006lE-15
 for bug-coreutils@HIDDEN; Sat, 19 Oct 2024 03:45:42 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 93322A5383
 for <bug-coreutils@HIDDEN>; Sat, 19 Oct 2024 07:45:36 +0000 (UTC)
Received: from pdx1-sub0-mail-a234.dreamhost.com
 (trex-6.trex.outbound.svc.cluster.local [100.101.175.246])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 3813BA53E5
 for <bug-coreutils@HIDDEN>; Sat, 19 Oct 2024 07:45:36 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1729323936; a=rsa-sha256;
 cv=none;
 b=h6hB8EuyRNwbfb6N7dJ9aWdmOkdkPE9NM/8B7EOnKcqGssCD5VMwx6PrMnTX50/xHZEjXc
 LAe9qKdZ0hG5fI90nvglxz5otLQq1iOgQ9STHpgJi4xGuQ0Bzk/doKYLLU0CoKD4hppwO9
 9rkQ2lQxy8OFc09sxNKV/aK/NUMnOrCT/CiAxjbqFLVTawGPZShMPr4TyQzr7tdJ5lBN8S
 KJO1ecWDeaq6jJkPfxadHPlcRWF1MiErOxj17wwtUxMj1rGMsI1s9BIML0DXAshL+f6JP4
 i0RJ3mWV84ZvHWe0NjjDJnM7PHB4Djf919nH5fbDwiIEVlkgNspUBsUDIuonRg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1729323936;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 dkim-signature; bh=qEeXyqaJm9zvZzade467gJ8PIUWb3FzjdbKw2VkDTis=;
 b=75R8PvvnuHblWZAMe3aA3QrWJnh72VjZpA9WRvnGjALyeuEdrdgK0QIwvtJPm7h9bPASGQ
 H+B9I2ykcDvAPTO/5Oe1JRqsNEScQZpAVP9CTdT+rQ+7Q7O0ddnrYlvU3a43JkODjCrMsu
 OprWFe9AH75wZTtpmsYyJVpP+NZ3bb9LP1sPaQFV3RzK42Yu5m9dZZVtRQuub/rU1ODPv5
 2jhRn1L8UH3YH6KGGAnMGTVB2W//9eKU2MnRNfA65dMWRMDsZ2Qw0F+/sU8AYV5qkTNuz/
 J7T3bSGWXLUw+ZHPyGP+YWViO8+ESCl5A+3aUUj7u0cLyYjjP8gRC/0JrkzeNw==
ARC-Authentication-Results: i=1; rspamd-6bcbdd57f8-4pzwk;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Minister-Relation: 2ae4454c13662adc_1729323936427_1067418
X-MC-Loop-Signature: 1729323936427:4032593134
X-MC-Ingress-Time: 1729323936427
Received: from pdx1-sub0-mail-a234.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.101.175.246 (trex/7.0.2); Sat, 19 Oct 2024 07:45:36 +0000
Received: from jidanni.org (1-165-236-121.dynamic-ip.hinet.net [1.165.236.121])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a234.dreamhost.com (Postfix) with ESMTPSA id 4XVtsW6xTWz6G
 for <bug-coreutils@HIDDEN>; Sat, 19 Oct 2024 00:45:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org;
 s=dreamhost; t=1729323935;
 bh=qEeXyqaJm9zvZzade467gJ8PIUWb3FzjdbKw2VkDTis=;
 h=From:To:Subject:Date:Content-Type;
 b=jOEgGarsSVZ6Ju/ujwME6WO78M6rT1609dCJnw6AOqkAYncoIQWx4f0lxb3vg2LW8
 0OaTAcrfAqdyBqIa0+//vK5vlCByQPyKnVOndT3ESG4OMrJvPGofPTkcYPvWDKeiXg
 xiLb+kEs/cXpN/3fK2II3jJvc3MbgJLxaLMo3N3E8ZBXa8Sxg7Wiht6qsArroYz8MZ
 8NY3Mj1KLibiSWUXl0ixoMzdw0uj7uUIu3aBEcmxoqhuH+isvHniMWC5tpd7YqsSXg
 G4Crzeimp2ItG/Bvt2esS7B3HBHCOIH+vXFxRzroVncgHbNVA0iUalLCKurr56yhRL
 eQBoglcV9qlaQ==
Received: from jidanni by jidanni.org with local (Exim 4.96)
 (envelope-from <jidanni@HIDDEN>) id 1t249Z-0001Ix-0p
 for bug-coreutils@HIDDEN; Sat, 19 Oct 2024 15:45:37 +0800
From: Dan Jacobson <jidanni@HIDDEN>
To: bug-coreutils@HIDDEN
Subject: cp: there isn't even an option to quit on errors
Date: Sat, 19 Oct 2024 15:45:37 +0800
Message-ID: <874j58pmce.3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=23.83.222.61; envelope-from=jidanni@HIDDEN;
 helo=fly.ash.relay.mailchannels.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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: -2.4 (--)

$ cp -a /usr/share/doc/qpdf/manual-html/ ~/Downloads/
cp: cannot create symbolic link '/home/jidanni/Downloads/manual-html/_static/css/badge_only.css': Permission denied
cp: cannot create symbolic link '/home/jidanni/Downloads/manual-html/_static/css/theme.css': Permission denied....

It just keeps rolling on. No way to quit except ^C.

$ cp --version
cp (GNU coreutils) 9.4





Acknowledgement sent to Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#73875; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.