TransWikia.com

Cannot read symbolic link in wsl ubuntu 18.04

Super User Asked by Neuser on September 1, 2020

Whenever I try to run "ls" in wsl, I get the ‘permission denied’ error and cannot look up for my name which was created by me after the installation of wsl. It is for a Coursera course that requires the usage of a Linux environment in Windows 10.
I have already given several permissions from the ‘security’ tab of ‘properties’ in the File Explorer.Ubuntu wsl snap

One Answer

This is common and normal. These locations are not normally readable under WSL because you lack permissions to access them. Note that Windows restricts access to some directories without additional prompting, so even if you grant additional access via Windows Explorer, that doesn't mean you'll be able to access them using WSL. That's just how it is.

If you are trying to access your Windows user home directory, then it will usually be listed somewhere under /mnt/c/Users; in this case, it's likely User1. If you are trying to work with a Linux environment, then you'll want to work under your WSL home directory, which will be under /home; you can reach it by typing cd.

Answered by bk2204 on September 1, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP