Gentlemen, I have discovered I must use cp && rm as mv has no --no-preserve.

# touch k; mv k /cf
mv: failed to preserve ownership for `/cf/k': Operation not permitted
# touch k; cp -a --no-preserve=owner k /cf && rm k

You see, moving to VFAT, one will get that message under different
mount owners.

And the only way to avoid it is my workaround.

So do mention on the mv Info page this workaround for if you don't
like 2>&-, and don't like warnings, but like -a.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to