753 - deleting symlinks deletes the content of the linked folder

Bugs and issues - current donor version.
Post Reply
Message
Author
oimara
Posts: 2
Joined: 17.08.2010, 12:51

753 - deleting symlinks deletes the content of the linked folder

#1 Post by oimara » 17.08.2017, 07:07

With the option "delete with FreeCommander method" selected:
When deleting a folder which contains a symlink "L" to another folder "D", all the content of folder "D" gets deleted as well.
(In my case fortunately to the recycle bin.)

I think it's related to this bug report: http://forum.freecommander.com/viewtopic.php?f=7&t=8101

Windows 10, x64 - FreeCommander 753, 64-bit

horst.epp
Posts: 125
Joined: 15.11.2008, 19:18

Re: 753 - deleting symlinks deletes the content of the linked folder

#2 Post by horst.epp » 17.08.2017, 11:36

Thats the worst error an file manager can have.
Loosing files should never happen, even in betas.

User avatar
Dreamer
Site Admin
Posts: 2992
Joined: 19.08.2007, 21:40
Location: Slovakia

Re: 753 - deleting symlinks deletes the content of the linked folder

#3 Post by Dreamer » 17.08.2017, 20:13

What exactly do you mean? Folder shortcut (.lnk) or html file (.html)?

I can't reproduce it with .lnk.

Regarding .html, yes, when deleting the file, also the folder is deleted (with default settings, not with FC operations), but it's the same as in Explorer.

Please provide more information, steps to reproduce, file names...

FC 753 64bit, Windows 10 64bit.

oimara
Posts: 2
Joined: 17.08.2010, 12:51

Re: 753 - deleting symlinks deletes the content of the linked folder

#4 Post by oimara » 18.08.2017, 05:58

I am talking about symbolic links. I create them with "Link Shell Extension", or of course mklink may be used.

You can reproduce it this way:

Existing folder structure:

Code: Select all

Folder "A"
|- Folder "B"
    |- symbolic link "L" to folder "F"
|- Folder "F" ( or at any other place)
    |- file "a"
    |- file "b"
If Folder "B" gets deleted with method "FreeCommander", not only the symbolic link "L" itself gets deleted (or unlinked), furthermore the content of the linked folder "F", file "a" and "b", gets deleted as well, which is not the intention and not the behavior it was in earlier versions and I think not the usual way symlinks should be deleted.

Karol
Posts: 540
Joined: 19.08.2007, 10:05

Re: 753 - deleting symlinks deletes the content of the linked folder

#5 Post by Karol » 25.08.2017, 08:43

Works OK for me in 755.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest