Skip to content

Instantly share code, notes, and snippets.

@coltenkrauter
Last active November 29, 2019 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coltenkrauter/f3043cd073f1a71ad652f70b0aca4e09 to your computer and use it in GitHub Desktop.
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.
# 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