GNU bug report logs - #8370
RFC: cp --no-preserve=contents

Previous Next

Package: coreutils;

Reported by: Eric Blake <eblake <at> redhat.com>

Date: Mon, 28 Mar 2011 21:06:01 UTC

Severity: normal

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 8370 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 8370 <at> debbugs.gnu.org, Eric Blake <eblake <at> redhat.com>
Subject: Re: bug#8370: RFC: cp --no-preserve=contents
Date: Thu, 12 Apr 2012 15:20:30 +0100
On 04/12/2012 03:04 PM, Jim Meyering wrote:
> Pádraig Brady wrote:
> ...
>> So thinking a bit more about this,
>> and given the confusion expressed in the above bug report,
>> perhaps it's best to change --attributes-only to
>> _not_ truncate existing files?
>>
>> I think scripts relying on the truncation behavior
>> of this relatively new feature would be very rare,
>> and the non truncating behavior is more generally useful.
>>
>> Patch to implement this change is attached.
> 
> Thanks for doing this.
> I prefer the new non-truncating behavior, too.

Cool.

I'll push with your clean-ups later on.
Eric is it OK to close this bug,
or are there cases not handled yet?
(I didn't fully understand your suggestion TBH).

thanks for the review,
Pádraig.




This bug report was last modified 13 years and 105 days ago.

Previous Next


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