View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002257 | Double Commander | File operations | public | 2019-03-13 19:21 | 2021-10-29 23:21 |
Reporter | Aasasd | Assigned To | Alexx2000 | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Projection | none | ETA | none | ||
Platform | Mac (x86_64) | OS | MacOS | OS Version | 10.11 |
Product Version | 0.9.1 | Product Build | 8664 2019/02/16 | ||
Target Version | 0.9.6 | Fixed in Version | 0.9.6 | ||
Summary | 0002257: Can't delete to the trash bin in symlinked directories on different volumes (partitions) | ||||
Description | If a symbolic link leads to a directory on a different disk partition (from the one on which the link is located), Doublecmd opens the link as a directory but can't delete files or directories there to the Trash bin. An alert appears: “Can't delete the file to the trash! Delete it directly?”, and the proposed option is to remove the file immediately. This doesn't happen if the symlink and the link target are on the same partition: files are deleted to the trash bin. (Note that this isn't about Mac's 'aliases,' which aren't recognized by Doublecmd.) | ||||
Steps To Reproduce | - create a symlink to a directory on a different disk or partition. - open the symlink in Double Commander as if it were a directory. - try to delete a file or a directory anywhere in that directory. | ||||
Additional Information | Double Commander Version: 0.9.1 beta Revision: 8664 Build date: 2019/02/16 Lazarus: 2.0.1.0-60391 FPC: 3.0.4 Platform: x86_64-Darwin-qt4 OS version: Mac OS X 10.11.6 Widgetset library: Qt 4.8.6, libQt4Pas 4.5.3 Since files on secondary disks/partitions are deleted fine to the trash bin when outside a symlink, I would guess that calling 'realpath' to obtain the true file location would help with deleting them properly in the symlinked-directory case. (However, I'd ask that it's done only before deletion, and symlinks are still open as directories with the path of the symlink.) Not sure if this solutions can cause any problems in Linux environments. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 8993, 9002 | ||||
Operating system | MacOSX | ||||
Widgetset | Qt4 | ||||
Architecture | 64-bit | ||||
|
Guess I should also mention that to reproduce the problem you'll need to have 'Delete files to the recycle bin' enabled in Doublecmd settings under 'File operation'—though it's pretty obvious from the issue. |
|
This also occurs for me on MacOS 10.13.6 with Double Commander 0.9.5 beta. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-03-13 19:21 | Aasasd | New Issue | |
2019-03-13 23:07 | Aasasd | Note Added: 0003089 | |
2019-08-01 00:00 | ChrisWhy | Note Added: 0003242 | |
2019-08-03 15:43 | Alexx2000 | Target Version | => 0.9.6 |
2019-08-03 15:46 | Alexx2000 | Status | new => acknowledged |
2019-08-10 22:09 | Alexx2000 | Fixed in Revision | => 8993 |
2019-08-10 22:09 | Alexx2000 | Status | acknowledged => resolved |
2019-08-10 22:09 | Alexx2000 | Resolution | open => fixed |
2019-08-10 22:09 | Alexx2000 | Assigned To | => Alexx2000 |
2019-08-24 14:17 | Alexx2000 | Fixed in Revision | 8993 => 8993, 9002 |
2019-08-24 14:17 | Alexx2000 | Fixed in Version | => 0.9.6 |
2021-10-29 23:21 | Alexx2000 | Status | resolved => closed |