Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I created 2 test folders:

mkdir /home/oshiro/Desktop/encrypted
mkdir /home/oshiro/Desktop/decrypted

oshiro@debian:~/Desktop$ ls -l
total 8
drwxr-xr-x 2 oshiro oshiro 4096 Feb 15 20:34 decrypted
drwxr-xr-x 2 oshiro oshiro 4096 Feb 15 20:33 encrypted

I installed encfs:

sudo aptitude install encfs

I then tried using encfs with the 2 folders I created above:

oshiro@debian:~/Desktop$ encfs /home/oshiro/Desktop/encrypted /home/oshiro/Desktop/decrypted

Creating new encrypted volume.
Please choose from one of the following options:
 enter "x" for expert configuration mode,
 enter "p" for pre-configured paranoia mode,
 anything else, or an empty line will select standard mode.
?> p

Paranoia configuration selected.

Configuration finished. The filesystem to be created has
the following properties:
Filesystem cypher: "ssl/aes", version 3:0:2
Filename encoding: "nameio/block", version 3:0:1
Key Size: 256 bits
Block Size: 1024 bytes, including 8 byte MAC header
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File data IV is chained to filename IV.
File holes passed through to ciphertext.

New Encfs Password: 
Verify Encfs Password: 

But then I got this error:

fuse: failed to open /dev/fuse: Permission denied
fuse failed. Common problems:
- fuse kernel module not installed (modprobe fuse)
- invalid options -- see usage message
oshiro@debian:~/Desktop$ 

I've configured encfs on Ubuntu 12.04 without any issues, I had an issue on CentOS 6.5 which I corrected by running:

sudo chmod +x /usr/bin/fusermount

but that was for a slightly different error message. I tried the same command on Debian 7.4, but it made no difference. Anyone know how to get this to work?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Solution:

usermod -aG fuse <your-username>
reboot
share|improve this answer
1  
You do not need to reboot for group changes to take effect. Simply logging out and back in will suffice. –  Patrick Feb 16 at 11:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.