bug#13601: mv should not silently lose file extended attributes
From:
Andreas Schwab
Subject:
bug#13601: mv should not silently lose file extended attributes
Date:
Sun, 16 Aug 2026 08:02:17 +0200
User-agent:
Gnus/5.13 (Gnus v5.13)
On Aug 15 2026, Paul Eggert wrote:
> Also, if no mv options other than -i and -f are used, a diagnostic is needed
> to conform to the spirit of POSIX, as the POSIX spec says for this situation
> "If the duplication of the file characteristics fails for any reason, mv
> shall write a diagnostic message to standard error, but this failure shall
> not cause mv to modify its exit status."[1] Contrary to the original bug
> report POSIX does not require (and seemingly does not allow) the mv to be
> aborted if file characteristics are lost in the copy, but at least the user
> should be warned about the situation.
Should it also warn if sub-second resolution is lost?
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."