Opened 16 years ago
Last modified 8 years ago
#2885 assigned bug
"replace other file": can't replace directory with file
Reported by: | Adek336 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Tracker | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
When I have file "a" and directory "b" and I try to rename "a" to "b" I get told that a file of name "b" already exists and two buttons, "Cancel" and "Replace other file".
"Replace other file" doesn't do anything; just like when I try to rename "b" to "a".
However I can replace a folder with another folder and a file with another file.
Expected behaviour: do the replace; however, replacing a folder with a file can be harmful: losing all the files in a folder. So perhaps the dialog box should contain a warning if I'm trying to replace a non-empty directory (regardless whether with a file or directory).
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Component: | User Interface → Applications/Tracker |
---|---|
Owner: | changed from | to
comment:3 by , 16 years ago
Oops, didn't want to change the owner. Will probably reassign to me in the future anyway :)
comment:4 by , 13 years ago
Can you recheck this on a recent Haiku build? This may or may not have been addressed in the last 3 years.
comment:6 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Also note #1420.