I was trying to delete a symbolic link from /usr/local/bin from Explorer (I'm using WSL), and now I can't delete it at all. When I try to delete it from CMD or Bash, it says "Permission denied." When I try to change anything related to permissions on the file, it also says "permission denied" or something around that line. I cannot remove /usr/local/bin, and I cannot create a new text file to replace this file. The file is also a dangling link.



 chkdsk /r

as administrator in Command Prompt deleted the link.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.