View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000676 | Double Commander | File operations | public | 2013-06-11 14:08 | 2017-09-04 08:25 |
Reporter | xarasho | Assigned To | cobines | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Projection | none | ETA | none | ||
Platform | linux | OS | ubuntu | OS Version | 12.04.02 |
Product Version | 0.6.0 (trunk) | Product Build | 2013-04-28 | ||
Fixed in Version | 0.5.7 | ||||
Summary | 0000676: when copying a directory to its own soft-link, all files deleted | ||||
Description | I tried to copy a directory with SVN repository (if it matters) Accidentally, the target dir was a symlink to the source dir. when i copied the files, doublecmd asked me - copy into existing directories (I answered yes to all) - copy into existing files (I answered yes to all) it then said: "cannot open existing file: /xxx/yyy/zzz (retry / skip / skip all / abort) both when i chose skip or retry, the SOURCE file was deleted I think this kind of errors are easy to prevent: If the target file exist, either - check if the file is a symlink, or - remove (delete) the target before copying the source! - or better: 1) copy into a temp name, 2) and then delete the target after it's finish, 3) and then rename destination as target, | ||||
Steps To Reproduce | (be sure to backup everythiong before !!) 1) create a symlink to an existing directory (with subdirectories and files) 2) in doublecmd go into the original dir 3) select all items inside (ctrl+a) 4) in the other panel, go into the symlink 5) copy all files & folders into the symlink (F5) | ||||
Additional Information | ok, of course i know it's stupid to copy files into their own symlink, but i didn't notice that it was a symlink (on someone else's computer) Errors like this do happen sometimes, and it could happen to others. (Luckily, I just made a backup of the source before the copy - but if someone don't do backup - they're screwed) | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 5285,5286 | ||||
Operating system | Linux | ||||
Widgetset | |||||
Architecture | 32-bit | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-06-11 14:08 | xarasho | New Issue | |
2013-06-17 22:51 | Alexx2000 | Status | new => confirmed |
2013-08-23 12:21 | cobines | Assigned To | => cobines |
2013-08-23 12:21 | cobines | Status | confirmed => assigned |
2013-08-23 15:53 | cobines | Fixed in Revision | => 5285,5286 |
2013-08-23 15:53 | cobines | Note Added: 0001115 | |
2013-08-23 15:53 | cobines | Status | assigned => resolved |
2013-08-23 15:53 | cobines | Fixed in Version | => 0.5.7 |
2013-08-23 15:53 | cobines | Resolution | open => fixed |
2017-09-04 08:25 | Alexx2000 | Status | resolved => closed |