-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
mv: fails to copy special files across filesystems #7076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think we need to create a new file and copy its attributes instead of solely relying on this makes me want to put the entire |
Fix a bug in `mv` where it would hang indefinitely while trying to copy a FIFO across filesystems. The solution is to remove the old FIFO and create a new one on the new filesystem. Fixes uutils#7076
Fix a bug in `mv` where it would hang indefinitely while trying to copy a FIFO across filesystems. The solution is to remove the old FIFO and create a new one on the new filesystem. Fixes uutils#7076
Fix a bug in `mv` where it would hang indefinitely while trying to copy a FIFO across filesystems. The solution is to remove the old FIFO and create a new one on the new filesystem. Fixes uutils#7076
Fix a bug in `mv` where it would hang indefinitely while trying to copy a FIFO across filesystems. The solution is to remove the old FIFO and create a new one on the new filesystem. Fixes uutils#7076
Fix a bug in `mv` where it would hang indefinitely while trying to copy a FIFO across filesystems. The solution is to remove the old FIFO and create a new one on the new filesystem. Fixes uutils#7076
Environment: Ubuntu 20.04, uutils main branch (git commit 1e8e16b), GNU coreutils v8.30
Steps to reproduce:
What happens now: uutils
mv
hangs indefinitely and never terminates.What I expected to happen: GNU
mv
copies the special file to the target directoryNotes: this is causing a failure in the GNU test file
tests/mv/mv-special-1.sh
.Because the source file and the destination are on different filesystems, the file is copied to the destination and then the source file is removed; this can be seen by passing the
--verbose
option:The text was updated successfully, but these errors were encountered: