Edit: Now, the situation seems to have fixed itself - I checked again - and the file is just gone. I removed the parent folder without any problems. I did literally nothing. I have no idea what is going on here.
I have no idea what happened with permissions to my file. I created a file using VSCode in a git repository. Then, as far as I remember, I decided that it's of no use and decided to delete it using git that is installed under ubuntu using Windows Subsystem Linux with git reset --hard. Instead I got an error that access was denied. Now I have a file that, apparently, can survive anything. Trying to remove it gives me an error that I need a permission:
Trying to remove it from ubuntu makes it even funnier:
(note that I'm trying to remove a whole directory and it specifically complains that the file doesn't exist)
So I tried to change permissions to the file:
Continue yelds literally no effect.
Trying to change permissions to a containing folder complains that access was denied:
And trying to remove the parent folder says that I need permissions from... myself:
Do you have any idea what can I do to get rid of it? At some point I managed to remove a whole project folder. Cool. Then I cloned the repo again in the same place... and the file was there, marked as untracked by git (because I never added it to the repo). I'm lost.