A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Microsoft/BashOnWindows/issues/2392 below:

Shared drive's (/mnt/c) directories appear as files in WSL unless accessed in Windows Explorer first · Issue #2392 · microsoft/WSL · GitHub

This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS!

If you have a feature request, please post to the UserVoice. If you're reporting a BSOD, don't post here! Instead, e-mail "secure@microsoft.com", and if possible attach the minidump from "C:\Windows\minidump".

16257

  1. start fresh Ubuntu bash session
  2. list an existing directory that has not been accessed before:
th@Y-Wing:~$ ls -al /mnt/c/Program\ Files/Windows\ Sidebar
-r-xr-xr-x 1 root root 0 Jul 29 13:50 /mnt/c/Program Files/Windows Sidebar
th@Y-Wing:~$ ls -al /mnt/c/Program\ Files/Windows\ Sidebar/
ls: cannot access '/mnt/c/Program Files/Windows Sidebar/': Not a directory
  1. access the above folder in Windows Explorer
  2. back in the bash session:
th@Y-Wing:~$ ls -al /mnt/c/Program\ Files/Windows\ Sidebar
total 0
dr-xr-xr-x 0 root root 512 Jul 29 13:50 .
dr-xr-xr-x 0 root root 512 Aug  3 03:44 ..
dr-xr-xr-x 0 root root 512 Jul 29 13:50 Gadgets
dr-xr-xr-x 0 root root 512 Jul 29 13:50 Shared Gadgets

the above directory is just an example, I've just picked it as it is one of the default windows folders. the problem is not just within /mnt/c, but any mounted local drive. mounted UNC drives work.

directories should be available without having to access them first in WIndows Explorer.
the "workaround" of accessing the share in WIndows Explorer to make it accessible in WSL only works for a short while, after which directories become inaccessible again.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3