Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access WSL mounted disk (\\wsl.localhost\Ubuntu\mnt\c) from File Explorer due to Permission Denied #11222

Open
1 of 2 tasks
MaurizioCasciano opened this issue Feb 28, 2024 · 5 comments

Comments

@MaurizioCasciano
Copy link

Windows Version

Microsoft Windows [Version 10.0.19045.4046]

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Ubuntu 22.04

Other Software

File Explorer

Repro Steps

  1. Install WSL 2
  2. Try to open \\wsl.localhost\Ubuntu\mnt\c from File Explorer

Expected Behavior

File Explorer should allow to open such mounted disk.

Actual Behavior

File Explorer returns a permission denied when trying to open the \\wsl.localhost\Ubuntu\mnt\c directory.

Diagnostic Logs

No response

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@OneBlue
Copy link
Collaborator

OneBlue commented Feb 28, 2024

What's the default users configured in your distro ? If that user doesn't have access to the mount point, that can explain this error.

@MaurizioCasciano
Copy link
Author

MaurizioCasciano commented Feb 28, 2024

The username is the one I created during WSL installation.
From WSL I can list all the dir and files under /mnt/d and the WSL user matches both the owner and the group,
however I get a Permission denied for the System Volume Information.
image

@Acrobot
Copy link

Acrobot commented Apr 1, 2024

Same here. It used to work like 2 days ago, now I cannot use the WSL-based Python venv that I have created using PyCharm, since the directories appear to be empty.

@zhangs-a-n
Copy link

我也有同样的问题。
我在Windows的pycharm中调试代码时,程序不能访问/mnt/d下的资源。但是在WSL2中,确可以正常访问/mnt/d下的所有内容。
我尚不清楚如何解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants