GNU bug report logs -
#13601
mv should not silently lose file extended attributes
Previous Next
Full log
Message #8 received at 13601 <at> debbugs.gnu.org (full text, mbox):
On 01/31/2013 07:06 PM, jf <at> dockes.org wrote:
>
> When moving a file having extended attributes to a target filesystem which
> does not support them (e.g. an NFS mount), the attributes are silently
> lost.
>
> I think that mv should not complete the move in this case, as the current
> behaviour leads to silent and unexpected data loss.
>
> Ideally, this behaviour should be controlled by an option, but I think that
> the default should be to refuse to lose data.
>
> mv version: mv (GNU coreutils) 8.13
> Checked on Ubuntu 12.04 (probably not relevant).
The previous discussion on that was at:
http://lists.gnu.org/archive/html/bug-coreutils/2009-04/threads.html#00174
and the corresponding diagnostics supression patch at:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=941bd48
I'm inclined to agree there should be some diagnostics.
Perhaps we could output diagnostics as normal, but only
try the operation once that gives ENOTSUP?
thanks,
Pádraig.
This bug report was last modified 1 year and 191 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.