GNU bug report logs - #40352
cp -a --attributes-only zeroes a file with more than one link

Previous Next

Package: coreutils;

Reported by: Matt Kloss <matt.kloss <at> yandex.com>

Date: Tue, 31 Mar 2020 15:37:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: 40352 <at> debbugs.gnu.org, P <at> draigBrady.com, matt.kloss <at> yandex.com
Subject: bug#40352: cp -a --attributes-only zeroes a file with more than one link
Date: Fri, 3 Apr 2020 18:49:45 +0200
On 2020-04-01 14:10, Pádraig Brady wrote:
> On 31/03/2020 13:32, Matt Kloss wrote:
>>     Hello,
>>
>>     When you cp -a --attributes-only a [dest] file which has a more than one
>>     “hardlink”, it zeroes the file:
> 
> The attached fixes this, which I'll push later.
> Marking this as done.

LGTM, thanks!

Have a nice day,
Berny




This bug report was last modified 5 years and 53 days ago.

Previous Next


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