Some time ago I showed them how to protect our folders and its content using Cryptkeeper, an application that we can find in the repositories of our favorite distributions.
In the case of Arch Linux, Cryptkeeper is in AUR, and although I can install it I did not feel like adding Yogurt or use makepkg. So I thought: Cryptkeeper it must be a front end of another application. And indeed, Cryptkeeper is an improved front for EncFS (I eat well said at the time the user mxs).
Why improved? Because Cryptkeeper shows / hides the folder where we save our content, which EncFS does not make. But we can do it very easily.
For this example I am assuming that we already have an encrypted folder. It will usually have a period in front of the name, for example .Private.
Now let's say I want to access the .Private folder. The first thing is to install EncFS.
$ sudo pacman -S encfs
If we want to mount the encrypted folder with our user (and not using sudo), we have to install the package fuse and in the case of Debian, add our user to that group:
$ sudo pacman -S fuse
Curiously with Arch Linux I didn't have to add my user to the group fuseIn fact, there is no such group. o_O
Now, to show the .Private folder, we have to create an empty folder to "mount" .Private in it. Let's say we have the Private folder (without the dot in front). So we execute:
$ encfs /home/usuario/.Privado/ /home/usuario/Privado/
Then, to disassemble it, we just have to put:
$ fusermount -u /home/usuario/Privado/
And that's it. But since we are intelligent users, we will create 2 alias in the file .bashrc which will create the folder for us, execute encfs and subsequently Dolphin, Nautilus or our preferred file manager.
alias activar='mkdir /home/usuario/Privado && encfs /home/usuario/.Privado /home/usuario/Privado && dolphin'
and to remove it:
alias desactivar='fusermount -u /home/usuario/Privado/ && rm -R /home/usuario/Privado'
As you can see I used the aliases activar y deactivate but you use whatever you want ..