bug-coreutils
[Top][All Lists]
Advanced

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

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


From: PƔdraig Brady
Subject: bug#13601: mv should not silently lose file extended attributes
Date: Sun, 16 Aug 2026 17:47:49 +0100
User-agent: Mozilla Thunderbird Beta

On 16/08/2026 17:30, Paul Eggert wrote:
On 2026-08-16 03:24, PƔdraig Brady wrote:

We might get complaints for the extra warnings,
but I suppose users can `cp -a && rm` for more granular warning support.

POSIX requires just one warning per mv argument, so for the relatively common case of 
"mv SRCDIR /x/DESTDIR" we could cut the warnings down to one instead of one per 
file under SRCDIR.
I'm 50:50 since there is a workaround.
If we were to do that, then it would probably be best as a separate change.
It might be nice to also treat the chown() failures similarly,
though it's annoying they fail with EPERM rather than ENOTSUP,
so I'm not sure that's practical.

cheers,
Padraig





reply via email to

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