mvfile fails across file systems
Bug #1092346 reported by
Matt Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raise |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The command mvfile uses os.rename() to move a file. But os.rename() will fail with "OSError: [Errno 18] Invalid cross-device link" when moving across file systems. For example moving a file in /tmp to /home in Fedora will fail.
Shutil does not have this problem.
Change the os.rename() to shutil.move()
Changed in raise: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in: bazaar. launchpad. net/~workhorsy/ raise/main/ revision/ 79
http://