Chmod/Chown WSL Improvements

We’ve added new file system features to WSL in Insider Build 17063. You can now set the owner and group of files using chmod/chown and modify read/write/execute permissions in WSL. You can also create special files like fifos, unix sockets, and device files. We’re introducing new mounting options with DrvFs for projecting permissions onto files alongside…

13

Share Environment Vars between WSL and Windows

Hey WSL users—we have more features to share with you! Our latest Windows Insider build lets you share environment variables between WSL and Windows. Starting with Build 17063, let’s look at how you can leverage the new “WSLENV” to enhance environmental variable interop between Win32/WSL. Summary For the pros who’ve already heard about WSLENV and…

4

Do not change Linux files using Windows apps and tools

Do not create/modify Linux files from Windows apps/tools
Do not create/modify Linux files from Windows apps/tools

I have to provide this guidance at least 2-3 times a day so instead I am publishing it here so everyone can find / link-to this guidance. There is one hard-and-fast rule when it comes to Bash on Windows: DO NOT, under ANY circumstances, create and/or modify Linux files using Windows apps, tools, scripts, consoles,…


More easily invoke Windows apps and tools from Bash on Windows

Along with support for ifconfig & network connection enumeration, Windows 10 Insider Build 14965 delivers a small but important change was made which will enable you more easily invoke Windows tools & applications from within Bash: Your Windows user environment path is now appended to the WSL path by default. This means you can now type…