bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: bug#61386: [PATCH] cp,mv,install: Disable sparse copy on macOS
Date: Fri, 10 Feb 2023 12:45:10 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 2/10/23 10:58, Pádraig Brady wrote:
I was considering "touch"ing the timestamps after also,
but it's better to just maintain them as we're
pointing to the same data after all.

For POSIX conformance we must touch if the user has specified only POSIX options (and has not specified -p).

And it's not just a POSIX conformance issue. Ordinary users will be surprised if plain 'cp A B' creates a file B with a timestamp from last year.

Likewise for B's modes.

There's another complication: recent macOS versions have CLONE_ACL, and we're not using that.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]