bug#13601: mv should not silently lose file extended attributes

Paul Eggert <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.