[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mv (fileutils) 4.1 overwrites readonly file
From: |
Vin Shelton |
Subject: |
mv (fileutils) 4.1 overwrites readonly file |
Date: |
29 Jul 2001 13:30:53 -0400 |
Try the following:
touch foo bar
chmod 444 foo bar
mv --version ==> mv (fileutils) 4.1
mv foo bar
Under fileutils 4.1 this overwrites bar without any question. Under
older versions of fileutils (4.0p, for example), this generated a
query:
touch foo bar
chmod 444 foo bar
/bin/mv --version ==> mv (GNU fileutils) 4.0p
/bin/mv foo bar ==> /bin/mv: overwrite `bar', overriding mode 0444?
This is similar to a bug I reported on 4.0.40 where rm would not
prompt before erasing a readonly file.
If this new behavior is intentional, is there any way to get the old
behavior back?
TIA,
vin shelton
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mv (fileutils) 4.1 overwrites readonly file,
Vin Shelton <=