Write to windows disk from WSL (Windows subsystem for Linux)

2020-02-25T16:23:02

I'm in need to share files between Linux (using WSL) and Windows, so that I can edit in Windows and compile in Linux. According to recomendations from Microsoft I should then keep my shared files under the drive in /mnt/ (/mnt/c/ in my case). Problem I have is that trying to write to that drive in Linux yields a Operation not permitted, I need to do sudo for all writes. How can I change this so that I have write possiblitites from my Linux?

thanks

Copyright License:
Author:「Johan」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/60390266/write-to-windows-disk-from-wsl-windows-subsystem-for-linux

About “Write to windows disk from WSL (Windows subsystem for Linux)” questions

I'm in need to share files between Linux (using WSL) and Windows, so that I can edit in Windows and compile in Linux. According to recomendations from Microsoft I should then keep my shared files u...
Since loop module of WSL(windows subsystem for Linux) cannot be enable, then how could I mount(or write and read by other way) the file system in disk image.
How can i find which serial-port is the active one in Windows Subsystem for Linux? I know about the added support in WSL for using the /dev/ttyS, but which of these ports are active? The issue I'm
So I am using Ubuntu Linux terminal(also have Debian) in windows 10. according to this site: https://medium.com/nerd-for-tech/how-to-setup-windows-subsystem-linux-with-visual-studio-code-on-windows...
I'd like to use Bash for Windows (Windows subsystem for Linux) inside of a Windows Docker Container. Use Case: I have a Windows application (which I want to dockerize), which also needs to run cer...
Anaconda was successfully installed using Example 1 in my Windows Subsystem for Linux (WSL). After completing the installation, I managed to run a Jupyter notebook in a browser and everything was
I am trying to use ssh-agent under WSL but the SSH params are wiped after the script is run From .bashrc (cut down version) eval $(ssh-agent) ssh-add ssh-add -l echo "SSH_AGENT_PID is" $SSH_AGE...
I'd like to mount a windows server from within WSL (Windows Subsystem for Linux). On Ubuntu (with unity interface) I can just type gvfs-mount smb://domain\;user@server/share and everything mounts...
I'm running Oracle Database 12c 12.1.0.2.0 - 64bit on Windows, but I would like to be able to use cx_Oracle through WSL. When running a Python script in WSL that uses cx_Oracle, I receive the foll...
I wish to debug a Linux C++ console application from VS2017, as in these tutorials: Writing And Debugging Linux C Applications From Visual Studio Using The Windows Subsystem For Linux targeting w...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.