Page 6 of 6 FirstFirst ... 456
Results 51 to 60 of 60

Thread: HOWTO: Encrypted directory with EncFS

  1. #51
    Join Date
    Apr 2006
    Location
    Paris, France
    Beans
    56
    Distro
    Ubuntu 11.04 Natty Narwhal

    Unhappy [SOLVED] Re: HOWTO: Encrypted directory with EncFS

    EDIT: Problem solved, see this thread :
    http://ubuntuforums.org/showthread.php?t=719486



    Hello,

    While following this tutorial on a reasonably fresh 7.10 system, i received the following error during the initial creation of an encrypted directory :

    Code:
    fuse: device not found, try 'modprobe fuse' first
    fuse failed.  Common problems:
     - fuse kernel module not installed (modprobe fuse)
     - invalid options -- see usage message
    I assume the device, in this instance, is /dev/fuse ; however...

    Code:
    $ ls -l /dev/fuse
    ls: /dev/fuse: No such file or directory
    Modprobe should create this device, unfortunately...

    Code:
    $ sudo modprobe fuse
    FATAL: Module fuse not found.
    FATAL: Error running install command for fuse
    Both fuse-utils and libfuse2 are installed :

    Code:
    $ dpkg -l | grep fuse
    ii  fuse-utils                     2.7.0-1ubuntu5                  Filesystem in USErspace (utilities)
    ii  libfuse2                       2.7.0-1ubuntu5                  Filesystem in USErspace library
    In case the kernel version is relevant :

    Code:
    $ cat /etc/issue && uname -a
    Ubuntu 7.10 \n \l
    
    Linux sd-11222 2.6.23.10dedibox-r7 #1 Fri Dec 28 00:38:02 CET 2007 i686 GNU/Linux
    I'm more than happy to accept any and all ideas on what the problem might be.
    Last edited by phrawzty; March 10th, 2008 at 06:26 PM. Reason: problem solved, nevermind...

  2. #52
    Join Date
    Apr 2008
    Beans
    9
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Encrypted directory with EncFS

    I skimmed through some reviews and read the description of EncFS and somehow this feels the same as Truecrypt except that in Truecrypt you don't see the actual files encrypted in code. But sounds interesting enough I'll look more into it.

    Thanks for the tutorial.

  3. #53
    Join Date
    Aug 2006
    Location
    New Zealand
    Beans
    140
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Encrypted directory with EncFS

    I haven't read through all of this thread, but when I installed encfs, all I did was:
    Code:
    sudo aptitude install encfs
    sudo echo “fuse” >> /etc/modules
    sudo modprobe fuse
    sudo addgroup <your username> fuse
    Then, using synaptic I installed cryptkeeper. Cryptkeeper looks after making, locating and opening encrypted folders. I find cryptkeeper to be an excellent little program.

  4. #54
    Join Date
    May 2005
    Location
    Vancouver
    Beans
    195
    Distro
    Ubuntu

    Re: [SOLVED] Re: HOWTO: Encrypted directory with EncFS

    Quote Originally Posted by phrawzty View Post
    EDIT: Problem solved, see this thread :
    http://ubuntuforums.org/showthread.php?t=719486



    Hello,

    While following this tutorial on a reasonably fresh 7.10 system, i received the following error during the initial creation of an encrypted directory :

    Code:
    fuse: device not found, try 'modprobe fuse' first
    fuse failed.  Common problems:
     - fuse kernel module not installed (modprobe fuse)
     - invalid options -- see usage message
    I assume the device, in this instance, is /dev/fuse ; however...

    Code:
    $ ls -l /dev/fuse
    ls: /dev/fuse: No such file or directory
    Modprobe should create this device, unfortunately...

    Code:
    $ sudo modprobe fuse
    FATAL: Module fuse not found.
    FATAL: Error running install command for fuse
    Both fuse-utils and libfuse2 are installed :

    Code:
    $ dpkg -l | grep fuse
    ii  fuse-utils                     2.7.0-1ubuntu5                  Filesystem in USErspace (utilities)
    ii  libfuse2                       2.7.0-1ubuntu5                  Filesystem in USErspace library
    In case the kernel version is relevant :

    Code:
    $ cat /etc/issue && uname -a
    Ubuntu 7.10 \n \l
    
    Linux sd-11222 2.6.23.10dedibox-r7 #1 Fri Dec 28 00:38:02 CET 2007 i686 GNU/Linux
    I'm more than happy to accept any and all ideas on what the problem might be.
    okay, I had your exact same problem just now. All I had to do was restart the system. I'm guessing it just needed to make use of the fact that I added my user to the fuse group.

  5. #55
    Join Date
    Aug 2008
    Beans
    1

    Re: HOWTO: Encrypted directory with EncFS

    Have I hit a limitation in extfs that I had not understood?

    What I want to do is encrypt a directory containing sensitive database files which are accessed and modified by an applet in a web server (which is remote and which I manage by using ssh). This means the web service is running in a daemon thread, not in a currently-logged-in ssh session.

    It appears that extfs creates a session-specific binding between encrypted and decrypted directories. Certainly, if I run extfs from within a first ssh session, then close ssh (without running fusermount -u ), then connect again using ssh I can no longer access my data: the plain text directory is visible to 'ls' but with rubbish time, size etc. Its contents are inaccessible, and I cannot delete it or otherwise access it.

    I shall need to access the plan-text data from the long-lived web server daemon and from transient ssh sessions (for backup purposes). Unless I've misunderstood something or have finger-trouble, I seems I cannot do this with extfs.

    Have I misunderstood something, or missed some feature?

  6. #56
    Join Date
    Jul 2006
    Beans
    324

    Re: HOWTO: Encrypted directory with EncFS

    every time it comes to umounting it after use, it tells me the device is busy.

    how can fusermount force umount or how can I tell what program could still be accessing the folder?

    nm. its fuser -m folder
    Last edited by boast; August 18th, 2008 at 05:49 AM.

  7. #57
    Join Date
    Sep 2008
    Location
    Canada
    Beans
    47
    Distro
    Ubuntu Development Release

    Re: HOWTO: Encrypted directory with EncFS

    Quote Originally Posted by bluntu View Post
    Have anyone here tried TrueCrypt yet? How is it like?
    My eyes glazed over when I was reading the Truecrypt instructions for the 5th time before trying it.

    I'm a musician by training and hence a graphic type. Cryptkeeper is more my speed.

    One question - other than creating a new unencrypted folder and copying the files, how does one decrypt a folder?

  8. #58
    Join Date
    Aug 2008
    Beans
    7

    Re: HOWTO: Encrypted directory with EncFS

    Hi,
    When i run this script from shell
    Code:
    #!/bin/sh
    
    cd `dirname $0`
    HOME=`pwd` firefox
    I get these errors:
    Code:
    6409): GnomeUI-WARNING **: While connecting to session manager:
    None of the authentication protocols specified are supported.
    
    (<unknown>:6455): Gdk-CRITICAL **: gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed
    Any Idea ?

  9. #59
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: HOWTO: Encrypted directory with EncFS

    Oops, please ignore. I should have edited this, but instead created a new post.
    Last edited by lovinglinux; May 12th, 2011 at 01:43 PM.

  10. #60
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: HOWTO: Encrypted directory with EncFS


Page 6 of 6 FirstFirst ... 456

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •