bug#13601: mv should not silently lose file extended attributes
Andreas Schwab <[email protected]>
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
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, [email protected] GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."