-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
home directory inaccessible after upgrading to 14951 #1260
Comments
Here's a way that might get things going again, and maybe reveal what happened. Move that Folders and files in And if that doesn't work, we'll know that there's a different problem. Rescuing inaccessible files is about the only time you might get away with accessing files in |
Yep I know about the last part. Will try your solution and report. Thanks |
You should be able to automate fixing permissions on the user home directory with setting 755 and 644, except your ssh private key which must be 400. |
@fpqc I can't do this as this folder is fully inaccessible including the |
This seems to be caused by sshd. I've reinstalled WSL from scratch but the moment I started ssh I got this error once again |
So before you start sshd, you can access the home directory as root or the user, but as soon as you start sshd the home directory becomes inaccessible? Is it still inaccessible if you reboot and enter bash.exe without starting sshd? Could you review for us how you start sshd? Can you log in to WSL via ssh when it is running? |
I'm trying different things right now. But it seems that now i get this error even on clean uninstall/install of wsl. i'll investigate further and report |
btw i somehow have a |
Ok, it seems that this I think the issue can be closed now |
Upgraded to 14951 from 14946
Can't access user home directory even as root
Alternatively
C:\Users\dreyk\AppData\Local\lxss\home\dreyk
is completely accessible including the ability to open/view files, so this has to be a permissions problem rather than data corruption (which I already faced several builds ago)14951
Any suggestions how to overcome this?
UPD: running
bash.exe
as windows admin didn't change anythingThe text was updated successfully, but these errors were encountered: