-
Notifications
You must be signed in to change notification settings - Fork 822
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
Not able to browse files with explorer.exe if the directory was mounted with SSHFS #4172
Comments
Thanks for filing this issue, this is due to how we isolated DrvFs mounts for admin / non admin access via mount namespaces. I have some ideas how to solve this in a future update. |
Thanks for the quick response. I'll wait then. WSL 2 is awesome. You guys rock. |
Niiiiiice :) |
Hi, I am on 18945.1001 and am trying to get SSHFS to work, but then I type I get an error: fuse: device not found, try 'modprobe fuse' first and on modprobe fuse I get: What can it be? Thanks in advance! |
@alexbogun You are using WSL1 because it shows the build number 18945. |
@onomatopellan if I'm getting the "modprobe: FATAL: Module fuse not found in directory /lib/modules/4.19.55-microsoft-standard" error in WSL2, is there a way to fix this? |
@jmstrampe I think WSL2 doesn't support kernel modules. Instead you will need to compile the linux kernel from here with the options you need and then load the custom kernel with .wslconfig file. |
Did you try it? I have not any sshfs system. Throw me any alternative test procedure. |
@Biswa96 Didn't try it either. I mean modprobe won't work in WSL2 because there are no modules that can be loaded. But I can be wrong too. |
In my wsl2 (w10 1903 18995.1) sshfs is able to mount remote resource and it works well, I can read and write files (in bash), browse folders (with mc) and so on. But when I try to launch explorer.exe . in my sshfs-mounted folder it displays error message file: Xenopsowner: kristjangroup: kristjanuser::rwx |
I'm glad to have fuse working in WSL 2. Huge thank you to everyone involved for making it a reality. Just so people know I'm running.
I can open explorer fine so as far I'm concerned it's fixed (if it was broken) I will post my mount command for people in case it helps.
Thank you @benhillis EDIT: Forgot to add, you need to use allow_other and to do that you need to edit /etc/fuse.conf and uncomment allow_other there. |
I don't have a server to test the fix anymore so if you think the fix has landed @benhilis feel free to close this issue. Thanks a lot. |
The command described by @EwolBash works for me, but when my computer sleeps and wakes back up again, SSHFS seems to be in a bad state. The mount can’t be read or unmounted and I have to kill the SSHFS process. By the way, having SFTP capabilities built into Windows is a long-standing dream of mine and, for this and many other reasons, I’m so grateful to @benhillis and the entire WSL project. Thank you so much! |
How are you trying to unmount it? I'm assuming |
Ah! I was trying to I mean, I guess I still don’t understand why the Thanks so much for this! |
Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.
If you have a feature request, please post to the UserVoice.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues. Please direct all Windows crashes and security issues to [email protected]. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".
Please fill out the below information:
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.18917.1000]
Mounting a directory with sshfs in WSL2 and browsing it using explorer.exe.
"This folder is empty"
I should see the files (root, home, etc, dev...) as they are listed in WSL
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).No command is failing. So no trace available.
See our contributing instructions for assistance.
I wonder if this is a bug report or a feature request. Should we expect this scenario to work with WSL2 ?
The text was updated successfully, but these errors were encountered: