Bug 2978 - moving files causing issues
moving files causing issues
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
6.0
i386 Linux
high Severity high
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-23 00:56 EDT by cyeo
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-24 15:06:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description cyeo 1999-05-23 00:56:41 EDT
When you 'force' a move to the same filename (by accident)
it will unlink the file... here is the log:

root@zeppelin:[ /tmp/test ] l
total 0
root@zeppelin:[ /tmp/test ] echo > test
root@zeppelin:[ /tmp/test ] l
total 1
   1 -rw-r--r--   1 root     root            1 May 22 22:53
test
root@zeppelin:[ /tmp/test ] /bin/mv test test
/bin/mv: `test' and `test' are the same file
root@zeppelin:[ /tmp/test ] l
total 1
   1 -rw-r--r--   1 root     root            1 May 22 22:53
test
root@zeppelin:[ /tmp/test ] /bin/mv -f test test
/bin/mv: `test' and `test' are the same file
root@zeppelin:[ /tmp/test ] l
total 0
Comment 1 Jay Turner 1999-05-24 15:06:59 EDT
This is the correct behavior for mv -f and therefore is not a bug.

------- Email Received From  "Chris Y." <cyeo@biking.org> 05/24/99 23:40 -------

Note You need to log in before you can comment on or make changes to this bug.