Last active
November 29, 2019 19:45
-
-
Save coltenkrauter/f3043cd073f1a71ad652f70b0aca4e09 to your computer and use it in GitHub Desktop.
Remount NTSF drive in WSL2 with the metadata option so chmod will work.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remount NTSF drive in WSL2 with the metadata option so chmod will work. | |
sudo umount /mnt/c | |
sudo mount -t drvfs C: /mnt/c -o metadata | |
# If you get an error "target is busy" then try to cd / before running the above commands. You may also have to exit other terminals that are using WSL2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment