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!

Related Questions

SQL Server Job – Login failed for user

1  Asked on February 17, 2021 by peter-sun


Can’t run Windows Update: error 0x800f081f

3  Asked on February 16, 2021 by bill-reardon


Open link in a new tab

1  Asked on February 16, 2021 by vooxe


Excel Cell Currency Picker

1  Asked on February 15, 2021 by randomexcelq


Enable user namespaces in Debian kernel

1  Asked on February 15, 2021 by senrabdet


Chrome sync keeps on getting paused

1  Asked on February 14, 2021 by gili


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir