Skip to content

Commit

Permalink
Merge pull request #859 from dorssel/fix_mount
Browse files Browse the repository at this point in the history
Fix mount options
  • Loading branch information
dorssel committed Feb 7, 2024
2 parents 8f0931a + 4793425 commit f9d9753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Usbipd/Wsl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public static async Task<ExitCode> Attach(BusId busId, bool autoAttach, string?
mkdir -m 0000 "{{WslMountPoint}}";
fi;
if ! test -f "{{WslMountPoint}}/README.md"; then
mount -t drvfs -o "uid=0;gid=0;umask=222" "{{wslWindowsPath}}" "{{WslMountPoint}}";
mount -t drvfs -o "ro,umask=222" "{{wslWindowsPath}}" "{{WslMountPoint}}";
fi;
""".ReplaceLineEndings(" "));
if (wslResult.ExitCode != 0)
Expand Down

0 comments on commit f9d9753

Please sign in to comment.