You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When moving a symlink across filesystems onto an existing destination path, uutils mv fails instead of replacing the destination like GNU mv does.
Test / Reproduction Steps
On filesystem A (e.g. /tmp), create a symlink:
$ ln -s /etc/passwd /tmp/src_link
On filesystem B (e.g. /home), create an existing destination:
$ touch /home/$USER/dst_exists
$ coreutils mv /tmp/src_link /home/$USER/dst_exists
GNU: dst_exists has been replaced with src_link.
uutils: File exists (os error 17)
Impact
The file move fails instead of overwriting the target directly.
Activity
mv: atomically replace existing dest when moving symlinks cross-device (
mv: drop pre-copy unlink of regular file destinations (uutils#10015)
mv: atomically replace existing dest when moving symlinks cross-device (
mv: atomically replace existing dest when moving symlinks cross-device (
mv: atomically replace existing dest when moving symlinks cross-device (
mv: atomically replace existing dest when moving symlinks cross-device (
mv: atomically replace existing dest when moving symlinks cross-device (
mv: atomically replace existing dest when moving symlinks cross-device (
mv: atomically replace existing dest when moving symlinks cross-device (
mv: atomically replace existing dest when moving symlinks cross-device (
sylvestre commentedon May 24, 2026
Fixed by #12170 (commit 515d74b "mv: atomically replace existing dest when moving symlinks cross-device").
mv: atomically replace existing dest when moving symlinks cross-device (
mv: drop pre-copy unlink of regular file destinations (uutils#10015)
fix: Work around rust-coreutils mv bug