View Single Post
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#865
I've managed to install encfs under Easy Debian, a user-space encrypted file system (http://www.arg0.net/encfs), which I thought would be an interesting enhancement of my zim installation. To my amazement, it was not difficult at all and everything needed was available. Here are the few "Easy" steps needed:

Encfs requires the fuse kernel module, which is indeed available in the Maemo system, although usually not yet loaded. Because there is no group "fuse" under Maemo, I've changed the group ownership of /dev/fuse to users, and have all that automated by creating a file $CHROOT/var/run/onfirstchroot-ext.rc with the content
Code:
modprobe fuse
sleep 1
chown root.users /dev/fuse
This file needs to be executable, so also do:
Code:
[root@deb-m5v3b: /]chmod a+x /var/run/onfirstchroot-ext.rc
The actual installation of encfs is then just
Code:
[root@deb-m5v3b: /]apt-get install encfs
[root@deb-m5v3b: /]adduser user fuse
After that user (and not only root) can create and use encrypted file systems in Easy Debian

Last edited by rebhana; 2010-03-21 at 11:47. Reason: included sleep 1 in onfirstchroot to work reliably
 

The Following 3 Users Say Thank You to rebhana For This Useful Post: