Subject: mv should not silently lose file extended attributes

From: [email-masked]
Date: Thu, 31 Jan 2013 20:06:30 +0100

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).

Regards,

J.F. Dockès