[SM-Grimoire-Bugs] [Bug 13377] New: mv from coreutils 6.4 should try harder in some circumstances

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Wed Jan 3 08:06:17 EST 2007


           Summary: mv from coreutils 6.4 should try harder in some
           Product: Codex
           Version: test grimoire
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: utils
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sqweek at gmail.com

mv(1) tries the rename(2) syscall up front, but this doesn't necessarily succeed
(eg it doesn't work across devices).
rename(2) on a 9p2000 filesystem only supports renaming within the same
directory and sets errno to EPERM when a rename between directories is
attempted, which is correct according to the last sentence of rename(2) under EPERM.
But, mv(1) only falls back to a copy/remove strategy when rename fails and sets
errno to EXDEV. The one line patch to coreutils I'm about to submit makes mv
fall back on EPERM also.

Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the SM-Grimoire-Bugs mailing list