Comments (5)
This error is returned by the libfuse fusermount
program in do_mount
. This means that the libfuse fusermount
program was not replaced by the winfuse version (which knows how to mount file systems in WSL1).
Can you please try the following commands for me:
ls -l /dev/fuse
ls -l /usr/bin/fusermount*
Here is output from my local system:
billziss@xps:~$ sudo sh "/mnt/c/Program Files/WinFuse/opt/wslfuse/install.sh"
[sudo] password for billziss:
FUSE for WSL1 user space components installed
billziss@xps:~$ ls -l /dev/fuse
crw-rw-rw- 1 root root 10, 229 Oct 23 13:17 /dev/fuse
billziss@xps:~$ ls -l /usr/bin/fusermount*
-rwsr-xr-x 1 root root 34040 Aug 22 22:33 /usr/bin/fusermount
-rwxr-xr-x 1 root root 5632 Aug 22 22:33 /usr/bin/fusermount-helper.exe
-rwsr-xr-x 1 root root 39144 Mar 7 2020 /usr/bin/fusermount.~1~
-rwsr-xr-x 1 root root 33984 Aug 12 09:39 /usr/bin/fusermount.~2~
-rwsr-xr-x 1 root root 34040 Aug 22 22:33 /usr/bin/fusermount3
-rwsr-xr-x 1 root root 33984 Aug 12 09:39 /usr/bin/fusermount3.~1~
(The fusermount*.~*~
files can be ignored as they are backups of the original libfuse fusermount
and fusermount3
programs.)
from winfuse.
Here's the output:
[04:35:58]:~> michael@Rocket$ sudo sh "/mnt/c/Program Files/WinFuse/opt/wslfuse/install.sh"
FUSE for WSL1 user space components installed
[04:36:15]:~> michael@Rocket$ ls -l /dev/fuse
crw-rw-rw- 1 root root 10, 229 Oct 23 11:05 /dev/fuse
[04:36:37]:~> michael@Rocket$ ls -l /usr/bin/fusermount*
-rwsr-xr-x 1 root root 34040 Oct 23 10:58 /usr/bin/fusermount
-rwsr-xr-x 1 root root 34040 Oct 23 10:58 /usr/bin/fusermount3
-rwxr-xr-x 1 root root 5632 Oct 23 10:58 /usr/bin/fusermount-helper.exe
from winfuse.
It appears that you have the correct versions of fusermount
and fusermount3
installed (they are both 34040 bytes as in my system and you also have the fusermount-helper.exe
Windows program).
However the "fusermount: mount failed" message is never output by the fusermount
that ships with WinFuse. This suggests that libfuse executes its own fusermount
program, which is the "wrong" one for WSL1.
Given that fusermount
is usually installed in /usr/bin
I am uncertain how this would be possible. Do you have an unusual installation of FUSE on your machine?
Please also note that my tests have been against Ubuntu 20.04. As far as I can remember Ubuntu 18.04 did not include FUSE3 in its packages, which means that it does not have the latest version of SSHFS against which my tests were done.
from winfuse.
Here's the output:
[04:35:58]:~> michael@Rocket$ sudo sh "/mnt/c/Program Files/WinFuse/opt/wslfuse/install.sh" FUSE for WSL1 user space components installed [04:36:15]:~> michael@Rocket$ ls -l /dev/fuse crw-rw-rw- 1 root root 10, 229 Oct 23 11:05 /dev/fuse [04:36:37]:~> michael@Rocket$ ls -l /usr/bin/fusermount* -rwsr-xr-x 1 root root 34040 Oct 23 10:58 /usr/bin/fusermount -rwsr-xr-x 1 root root 34040 Oct 23 10:58 /usr/bin/fusermount3 -rwxr-xr-x 1 root root 5632 Oct 23 10:58 /usr/bin/fusermount-helper.exe
Hi, I got the same output as yours. Can you please share how you fix the problem. I am using Ubuntu 20.04. In my case the error message from sshfs
is fuse: device not found, try 'modprobe fuse' first
though. Similar error when using davfs
, which says it cannot open fuse device when /dev/fuse
is already created.
from winfuse.
Hi I had the same problem too. I ran sshfs without sudo and it worked.
from winfuse.
Related Issues (11)
- GlusterFS Mount HOT 2
- Excellent software, but when I use this to building software on win32, bad things happen HOT 2
- How to use HOT 2
- fusermount: mounting over filesystem type 0x53464846 is forbidden HOT 2
- cannot run sshfs under root / inside ssh session to localhost HOT 1
- fusermount does not work if stdout is pipe / various other issues HOT 11
- The owner of the directory to be mounted is set to root.
- "Local disk" remains after unmount. HOT 1
- cannot create new file in mounted file system
- "Unknown option" error with WinFUSE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winfuse.