microsoft / microsoft/vscode-remote-release

Trying to browse to a bind-mounted image to a folder returns empty on file explorer regardless if it has contents or not

Open
#2,804 0 comments 0 reactions 1 assignee View on GitHub

@aeschli is already working on this.

Since Apr 22, 2020.

bug wsl-fileaccess
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version:1.45.0-insider
  • Local OS Version: Windows_NT x64 10.0.19592
  • Remote OS Version: Debian 10
  • Remote Extension/Connection Type: WSL2

It seems that trying to browse a folder which is bind mounted to a disk does not display its contents regardless if it has the permissions to do so.

image

Steps to Reproduce:

  1. Create a raw disk image and convert it to ext4
  2. Bind mount it and give it RW permissions and chown it to the current user on the root group.
    3: Switch to the bind-mounted folder.

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.