Bug 6246 - 'mv' doesn't care about permissions
'mv' doesn't care about permissions
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Cristian Gafton
Depends On:
  Show dependency treegraph
Reported: 1999-10-22 11:13 EDT by kaje
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:
Last Closed: 2000-02-17 14:21:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description kaje 1999-10-22 11:13:58 EDT
The mv-command doesn't care that your files are
writeprotected (eg. mode 0444). You are allowed to mv a file
(any mode) onto a writeproted one (thus loosing it). The
rm-command doesn't (as expected) allow you to delete
writeprotected files without either a warning or the f-flag.
This bug was not in RH5.1 (fileutils-3.16-10) and pre. It
seems to have been introduced with v. 4 of fileutils as it
also was in RH6.0 (fileutils-4.0-1).
Comment 1 Bernhard Rosenkraenzer 2000-02-17 14:21:59 EST
Fixed in 4.0-19 (rawhide).

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