GNU bug report logs - #61386
[PATCH] cp,mv,install: Disable sparse copy on macOS

Previous Next

Package: coreutils;

Reported by: George Valkov <gvalkov <at> gmail.com>

Date: Thu, 9 Feb 2023 09:36:03 UTC

Severity: normal

Tags: patch

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: George Valkov <gvalkov <at> gmail.com>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 61386 <at> debbugs.gnu.org
Subject: bug#61386: [PATCH] cp,mv,install: Disable sparse copy on macOS
Date: Sat, 11 Feb 2023 03:27:25 +0200
> On 2023-02-11, at 12:02 AM, Pádraig Brady <P <at> draigBrady.com> wrote:
> 
> On 10/02/2023 21:50, Paul Eggert wrote:
>> On 2/10/23 13:35, George Valkov wrote:
>>> Since the source and it’s clone have separate metadata,
>>> it should be possible to change it on the clone, to comply with standards.
>> Attached is a hacky patch to do that. It also uses the new CLONE_ACL
>> flag. The old code apparently mishandled ACLs; the new code tries to do
>> a better job.
> 
> Yes this is looking much better.
> I'm not fully convinced that we should also update the times,
> but not against it either.

I’d prefer a timestamp consistent with source. This is the default when
we clone a file. So no action needed. If we fall-back to copy, we need to set it.


Georgi Valkov
httpstorm.com
nano RTOS





This bug report was last modified 2 years and 123 days ago.

Previous Next


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