Skip to content
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

Can't mount encfs-encrypted volume using Linux encfs #1074

Closed
kkeane opened this issue Sep 11, 2016 · 3 comments
Closed

Can't mount encfs-encrypted volume using Linux encfs #1074

kkeane opened this issue Sep 11, 2016 · 3 comments

Comments

@kkeane
Copy link

kkeane commented Sep 11, 2016

This is a companion to #1073 .

The Linux version of encfs does not work on bash on Ubuntu on Windows. When attempting to mount an encrypted volume, an fusermount issue prevents mounting.

  • Expected results
    kkeane@LENOVO4G:$ mkdir -p ./plaintextdir
    kkeane@LENOVO4G:
    $ /usr/bin/encfs ./encrypteddir ./plaintextdir
    EncFS Password:
    kkeane@LENOVO4G:~$ ls ./plaintextdir
  • Actual results (with terminal output if applicable)
    (Note: bin/kpmount is a script that automates the encfs call with the same paramters as provided above)

kkeane@LENOVO4G:~$ bin/kpmount
EncFS Password:
fuse: device not found, try 'modprobe fuse' first
fuse failed. Common problems:

  • fuse kernel module not installed (modprobe fuse)
  • invalid options -- see usage message
    kkeane@LENOVO4G:$
    kkeane@LENOVO4G:
    $ sudo modprobe fuse
    sudo: unable to resolve host LENOVO4G
    [sudo] password for kkeane:
    modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.0+/modules.dep.bin'
  • Your Windows build number
    14393
  • Steps / All commands required to reproduce the error from a brand new installation
    cd
    mkdir ./plaintextdir
    create an encfs-encrypted directory on another system
    copy encrypted directory to ./encrypteddir
  • Strace of the failing command
    N/A
  • Required packages and commands to install
    encfs
    fusermount (which can't work since it is a kernel module).

See our contributing instructions for assistance.

@aseering
Copy link
Contributor

Thanks for posting the follow-up ticket! Just for completeness, this presumably has the same root cause as #17 and #412 , among others.

@therealkenc
Copy link
Collaborator

therealkenc commented Sep 14, 2016

I really hope FUSE/CUSE is given consideration after the obvious low-hanging syscall surface stuff is done. Given that kernel modules in the native sense can't ever be a thing on WSL, and open-source is a non-starter for reasons, FUSE is one way out of WSL pico-process jail. There's a User Voice here that isn't getting enough love.

@therealkenc
Copy link
Collaborator

Dupe of #17 and others like Adam indicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants