Alexander-Miller / treemacs

GNU General Public License v3.0
2.09k stars 152 forks source link

Treemacs asks to recursively delete home directory when deleting a soft link to a nonexistent file #1028

Open i-c-grant opened 1 year ago

i-c-grant commented 1 year ago

I had a soft link to another directory in a Treemacs project. After renaming the target directory, I tried to delete the now-broken soft link through Treemacs, but it asked whether I wanted to recursively delete my whole home directory (happily I said no). I was able to reproduce the issue with another symbolic link.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.

bestlem commented 1 year ago

This still happens - and I think it happens sometimes when the link is there but with no permission to alter the target. Now I know this issue is here I"ll get more info if it happens again

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).