会提示无法访问, 疑似权限不足.
google 未能找到答案

会提示无法访问, 疑似权限不足.
google 未能找到答案

|
1
%localappdata%\packages\canonical*\localstate\
挂载这个 vhdx |
|
2
sudo chmod 777 /root
|
|
3
@march1993 未曾胆敢设想的道路
|
|
4
@xtreme1 文件被占用 无法挂载
|
|
5
@chackchackGO [askUbuntu]( https://askubuntu.com/questions/1334900/how-to-investigate-ext4-vhdx-file-and-see-whats-inside-while-using-wsl2)的答案很曲线救国.
难道你能挂载成功吗? 我姑且就 chmod 777 好了 |
|
amoyuJan 28, 2023
6
wsl 中运行这个试试
cd ~;explorer.exe . |
|
ysc3839Jan 28, 2023 via Android
7
把启动用户改成 root 即可,这似乎是个 bug ,当你设置了以非 root 用户启动,会导致 init 也以那个用户运行,结果无法访问某些文件
|
|
8
@ysc3839
``` debian config --default-user root ``` 然后 exit 重启 debian ``` explorer.exe /root ``` 依然报错如 1 楼图片 |
|
9
|
|
10
|