How to access files in Windows Subsystem for Linux

by Milan Stanojevic
Milan Stanojevic
Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He's a PC enthusiast and he... read more
by Milan Stanojevic
Milan Stanojevic
Milan Stanojevic
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He's a PC enthusiast and he... read more
Affiliate Disclosure
windows subsystem for linux
XINSTALL BY CLICKING THE DOWNLOAD FILE
Try Outbyte Driver Updater to resolve driver issues entirely: This software will simplify the process by both searching and updating your drivers to prevent various malfunctions and enhance your PC stability. Check all your drivers now in 3 easy steps:
  1. Download Outbyte Driver Updater.
  2. Launch it on your PC to find all the problematic drivers.
  3. Afterward, Click Update & Apply Selected to get the latest driver versions.
  • OutByte Driver Updater has been downloaded by 0 readers this month.

Windows Subsystem for Linux (WSL) is a very useful tool for people who want to run Linux commands on Windows. However, many users encountered several issues with WSL.

One such example is an issue with accessing files in Windows Subsystem for Linux.

A user reported the following problem on a forum:

Why, when I create a file from within Windows for example, can I not see it under the Linux sub system in Windows 10 (bash.exe)
The screenshot should explain. Folder: OMG was created from within Windows Explorer. Folder OMGBash was created from with Linux sub system bash.exe
When a folder OR file is created outside of bash.exe I can never see it, regardless of permissions and ownership.

wsl

So, the user can’t see any folder or file created outside of bash.exe. This is a major problem for anyone who uses Bash on Windows and today we will show you what to do to solve the error.

Can’t access files in Windows Subsystem for Linux? Here’s what to do

1. Update Windows

Make sure you always install the latest builds for Windows. The Windows updates fix many issues regarding the boundary between Linux and Windows.

To see if your version of Windows 10 is up to date, check out our detailed guide.

2. Store the files in the Windows filesystem

If you edit files using Windows tools, you should store them in the Windows filesystem. So, do not create or update Linux files using Windows apps.

However, you can run, build or test Linux files using Linux tools.

Conclusion

Keep in mind that you can’t run all Linux apps in WSL. Windows Subsystem for Linux is used to run Bash and some basic Linux tools.

So, WSL doesn’t support Linux apps such as Gnome or KDE.

Moreover, Microsoft doesn’t recommend using Windows Subsystem for Linux for hosting production services. For that, you can use Azure, Hyper-V, or Docker.

Still, in this case, you should be able to access files through Windows or Linux apps. Make sure your operating system is up to date and store the files in the Windows filesystem.

Did our solutions work for you? How do you use Windows Subsystem for Linux? Do let us know in the comments section below!

RELATED ARTICLES YOU NEED TO CHECK OUT:

Still experiencing troubles? Fix them with this tool:

SPONSORED

Some driver-related issues can be solved faster by using a tailored driver solution. If you're still having problems with your drivers, simply install OutByte Driver Updater and get it up and running immediately. Thus, let it update all drivers and fix other PC issues in no time!

This article covers:Topics: