You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it should owned by the user (id 1000) not root (id 0)
Actual Behavior
➜ ~cd /run/user
➜ user ll
total 0
drwxr-xr-x 2 root root 40 Sep 14 18:01 1000
➜ user
The text was updated successfully, but these errors were encountered:
lawrsp
changed the title
/run/user/1000 permission denied: the owner is root
/run/user/1000 owner become root when pre mount a vhdx disk before start the wsl system
Sep 15, 2023
not load the vhdx to windows disk manager, if loaded, unload it
direct mount to wsl, like: wsl.exe -d Ubuntu --mount --vhd xxxxxxx --bare
sometimes before , if the vhdx file is not on disk C:, the step 2 would fail. That's why I need my old mount steps.
But after some updates, it can directly mount the vhd, and there is no permission problems by these steps, so I will close this issue
updated:
Windows Version
10.0.22621.2283
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04
Repro Steps
Expected Behavior
it should owned by the user (id 1000) not root (id 0)
Actual Behavior
The text was updated successfully, but these errors were encountered: