WSL Unable to change file permissions on Ubuntu Bash for Windows 10

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

WSL Unable to change file permissions on Ubuntu Bash for Windows 10

文章 yehlu »

https://superuser.com/questions/1323645 ... 10/1392722

30

If you're referencing files in the Windows file system, they do not, by default, retain Linux permissions. However, there's a way to enable that. Edit or create (using sudo) /etc/wsl.conf and add the following:

/etc/wsl.conf

代碼: 選擇全部

[automount]
options = "metadata"
回覆文章

回到「10」