Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 60

Thread: HOWTO: Encrypted directory with EncFS

  1. #31
    Join Date
    Feb 2005
    Location
    Geneva, Switzerland
    Beans
    976

    Re: HOWTO: Encrypted directory with EncFS

    Quote Originally Posted by Razac View Post
    Hi,Ahriman

    Thanks for gething back at me and to what you asked me yes.
    i am stell having the problem, but only when using the scripts
    when i goto Term it all works great. ????

    and both of them are drwxr-xr-x not sure if this is what you
    need from me or not.but it would be a plus to have the scripts work.

    Thank you
    I'll post the whole stuff again. Ensure everything is ok. Let's say your username in Ubuntu is razac (if not, change every razac found below to your username). Your hidden encrypted directory is /home/razac/.encrypted and your visible unencrypted directory is /home/razac/unencrypted. Change these if you have another directories. I colorize what you can change to ensure you have not inverted anything.

    You should have these directory/files:
    • /home/razac/bin/ (directory)
      Put the the right access
      Code:
      chmod 755 /home/razac/bin
    • /home/razac/bin/zenity.askpass
      Code:
      #! /bin/sh
      
      zenity --entry --text="Enter password:" --hide-text
      Put the the right access
      Code:
      chmod 755 /home/razac/bin/zenity.askpass
    • /home/razac/bin/mount.encrypted
      Code:
      #! /bin/sh
      
      out=`encfs --idle=15 --extpass=/home/razac/bin/zenity.askpass /home/razac/.encrypted/ /home/razac/unencrypted/`
      if [ $? -gt 0 ] ; then
              zenity --error --text="$out"
      fi
      Put the the right access
      Code:
      chmod 755 /home/razac/bin/mount.encrypted
    • /home/razac/bin/umount.encrypted
      Code:
      #! /bin/sh
      
      fusermount -u /home/razac/unencrypted/
      Put the the right access
      Code:
      chmod 755 /home/razac/bin/umount.encrypted


    If you checked everything, now run this in a console an post the output:
    Code:
    /home/razac/bin/mount.encrypted
    /home/razac/bin/umount.encrypted

  2. #32
    Join Date
    Aug 2006
    Beans
    11

    Talking Re: HOWTO: Encrypted directory with EncFS

    Hey,Sam

    Yes we got it working well on my end this was the problem.

    #! /bin/sh

    out=`encfs --idle=15 --extpass=/home/razac/bin/zenity.askpass /home/razac/.encrypted/ /home/razac/unencrypted/`
    if [ $? -gt 0 ] ; then
    zenity --error --text="$out"
    fi

    Now if you look here

    /home/razac/bin/umount.encrypted<---This was my problem when i changed
    it to this here---> /home/razac/bin/unmount.unencrypted<-- all worked 100%

    wow just like to say a great big thank you
    for not giving up on me with this.


  3. #33
    Join Date
    Feb 2005
    Location
    Geneva, Switzerland
    Beans
    976

    Re: HOWTO: Encrypted directory with EncFS

    No problem, mistakes happen to everyone. I really didn't understand why it didn't work. I hope next time you'll check twice what you do in case of an error ! (copy and paste is your friend)

  4. #34
    Join Date
    Aug 2006
    Beans
    11

    Talking Re: HOWTO: Encrypted directory with EncFS

    Hi,Sam

    Oh yes i will and again thank you for all your help.

    Razac

  5. #35
    Join Date
    Sep 2006
    Location
    Sussex, UK
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Encrypted directory with EncFS

    I've tried this (using Kubuntu Dapper) but everytime I try:

    encfs /home/richard/encrypted /home/richard/temp_encr

    I get the reply:

    fuse: failed to exec fusermount: Permission denied
    fuse failed. Common problems:
    - fuse kernel module not installed (modprobe fuse)
    - invalid options -- see usage message

    I had done 'modprobe fuse' before this but it doesn't seem to take any notice

    All the correct packages are installed, I'm sure.

    Any ideas?

    Thank you

  6. #36
    Join Date
    Dec 2005
    Location
    Taguig City, Philippines
    Beans
    167
    Distro
    Ubuntu 8.04 Hardy Heron

    Red face Re: HOWTO: Encrypted directory with EncFS

    Code:
    encfs ~/encrypted ~/xtmp
    returns...

    fusermount: mountpoint is not empty
    fusermount: if you are sure this is safe, use the 'nonempty' mount option
    fuse failed. Common problems:
    - fuse kernel module not installed (modprobe fuse)
    - invalid options -- see usage message
    directory (mountpoint) is empty

    problem solved!
    I reboot pc, deleted the two folders and repeated the steps in creating the two folders.
    Last edited by zek725; December 3rd, 2006 at 10:44 AM. Reason: problem solved
    AMD Sempron 2500+. 1024MB DDR333. 256MB nVidia 5500
    Partitions: sda1) Windows XP SP2; sda2: sda6) Ubuntu 8.04.1 Hardy Heron; sda7) swap; sda5) ntfs

  7. #37
    Join Date
    Dec 2005
    Location
    Taguig City, Philippines
    Beans
    167
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Encrypted directory with EncFS

    Quote Originally Posted by sidestrand View Post
    I've tried this (using Kubuntu Dapper) but everytime I try:

    encfs /home/richard/encrypted /home/richard/temp_encr

    I get the reply:

    fuse: failed to exec fusermount: Permission denied
    fuse failed. Common problems:
    - fuse kernel module not installed (modprobe fuse)
    - invalid options -- see usage message

    I had done 'modprobe fuse' before this but it doesn't seem to take any notice

    All the correct packages are installed, I'm sure.

    Any ideas?

    Thank you
    try
    Code:
    sudo encfs /home/richard/encrypted /home/richard/temp_encr
    AMD Sempron 2500+. 1024MB DDR333. 256MB nVidia 5500
    Partitions: sda1) Windows XP SP2; sda2: sda6) Ubuntu 8.04.1 Hardy Heron; sda7) swap; sda5) ntfs

  8. #38
    Join Date
    Jul 2006
    Beans
    16

    Re: HOWTO: Encrypted directory with EncFS

    Thanks for this.

    After "adduser" you can say "newgrp - fuse" to join the newly-made group in your current session (saves having to log out).

  9. #39
    Join Date
    Feb 2007
    Location
    Minneapolis, MN
    Beans
    19

    Re: HOWTO: Encrypted directory with EncFS

    Great instructions, thanks both to Remmelt and follow-up commenters. No problem getting this to work in Edgy. I posted about this with a few additional remarks (including getting it to run on Fedora also) at:

    HOWTO: EncFS Encrypted Filesystem in Ubuntu and Fedora GNU/Linux

  10. #40
    Join Date
    Feb 2007
    Location
    NSW Australia
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Encrypted directory with EncFS

    Hi remmelt,
    All went well until I entered step 5. All went O.K. for most of the way, but a note displayed "cannot do you do not have permission". I missed what this referred to, I think it was creating a directory. I rebooted, installed a file in "temp_encr" and the file showed up encrypted in the other directory but displayed as the original file in the "temp_encr" directory. Any help greatly appreciated.

Page 4 of 6 FirstFirst ... 23456 LastLast

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
  •