Bug 223869
| Summary: | mv(1) command produces wrong error message | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tamal Kanti Nath <tamal.nath> |
| Component: | coreutils | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6 | CC: | meyering |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 5.97-12.5.fc6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-04-19 08:25:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 207681 | ||
|
Description
Tamal Kanti Nath
2007-01-22 20:28:23 UTC
FWIW, upstream (coreutils-6.7) gets this right now: It prints this: mv: cannot move `b' to `a/b': Directory not empty Tim, I don't see off-hand where I made that fix. Let me know if you'd like details. If we do another coreutils update for FC6 it would be nice to get this fix in. The fix was on the trunk, between 5.92 and 6.0. Looks safe.
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=36a288e41a6
Here's the log entry:
* src/copy.c (copy_internal): Don't work around old NFS clients like
SunOS-4.1.4 and Irix 5.3 that set errno to values like EIO and
ENOTEMPTY upon failed rename. Otherwise, we risk misinterpreting
a banal failure as a recursive move-into-self failure.
Reported by Florent Bayle in <http://bugs.debian.org/376749>.
Fixed in update: coreutils-5.97-12.5.fc6 |