bug#13601: mv should not silently lose file extended attributes
From:
Paul Eggert
Subject:
bug#13601: mv should not silently lose file extended attributes
Date:
Sat, 15 Aug 2026 23:25:56 -0700
User-agent:
Mozilla Thunderbird
On 2026-08-15 23:02, Andreas Schwab wrote:
Should it also warn if sub-second resolution is lost?
Does cp warn? :-)
Anyway, that issue is arguably addressed by wording added to the POSIX spec for utimensat
some years ago at my suggestion, namely "The file's relevant timestamp shall be set
to the greatest value supported by the file system that is not greater than the specified
time."[1] It'd be odd if utimensat succeeded but mv warned anyway.
[1]:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/futimens.html#tag_17_196_03