Steps are :
## Install cfs using sudo apt-get install cfs
## Create the encrypted directory (let say lock)
$ cmkdir lock (It will ask for key i.e passwd for folder should not less than 16 chars)
## So encrypted directory lock is created, now we have to put our secret files, this is done by attaching another directory to lock ( let say directory is clock where we put our personal files)
$ cattach lock clock (again it will ask for key)
## You can look a new directory called /crypt is created and clock folder is inside it where you put ur personal files. /crypt/clock
## Move ur personal stuff to clock
$ mv personal-files /crypt/clock
## Now, to close ~/lock so no one can get into it, we need to unattach the directory with the cdetach command
## $ cdetach clock
NOTE : Next time if u want to acess ur personal stuff firstly u should start cfsd so, /etc/init.d/cfsd start and then reattach using cattach and then
sudo umount -f /crypt/clock
Now u can acess ur files.
After that u shud deattach using cdetach so that it become protected again.