When my laptop gets stolen, it would be nice to have my documents safely inaccessible in my custom folder (not ~/Private, but e.g. ~/.docs), where I also plan to move keyring and some configs. I don't want a whole encrypted home.  How can it be done?     I have ecrypts-utils installed I ran sudo chmod 700 ~/.docs I mounted a folder sudo mount -t ecrypts ~/.docs ~/.docs Moved files in there Unmount folder sudo umount ~/.docs Content is encrypted   Than I have to run step 3 again (with all settings) to decrypt files again. How can I make it work on logout/login?
121440
I have an extra ext4 formatted partition which I would like to ecrypt with ecryptfs. I have chosen not to go for home directory ecryption and having a encrypted private directory also hasn't helped me.   So, the remaining option for me is to encrypt the extra partition. So, I want to know what is the best way to achieve this. The drive should get mounted when I log in. And I should be able to move my Documents and other important folders in the home directory to the encrypted drive, and symlink them back to the home directory. As I save some passwords in firefox, should I move the hidden firefox folder in the home directory to the encrypted drive?
24048
I've tried Nero SecurDisc for writing Copy Protected, Password Protected files on DVD which requires Nero SecurDisc Viewer to decrypt them. But It doesn't seem to have an option to protect/encrypt filenames.  Is there any similar utility that has both options, for example like WinRAR has an option to encrypt names + data?  I was thinking about compress the files into .rar with encryption and then write them on DVD. Would it do the same that i'm trying to do?
34698
I opted to encrypt my Home during install, and now I would like to access my data from a LiveCD, unfortunately I'm having trouble following these . I get the error "mounting eCryptfs: [-2] No such file or directory"
117722
I love encfs as it provides file-based encrypting which is quite useful when it comes to cloud storage. But it looks like that especially for this use case, . I'm aware that  but how to deal with it in the meantime? Are there any alternatives that integrate well in ubuntu?  Edit: The security issue I mostly refer to is . It is still present in version 1.8 and makes your files vulnerable if someone get's multiple versions of your encrypted files. If one is worried about services like Dropbox are not that thrustworthy and encrypts folders uploaded into the cloud because of that, the opportunity that the attacker (the service) gets more than one copy of the cyphertext is absolutely given.
86143
How can I find all files I can not write to?  Would be good if it takes standard permissions and acls into account.  Is there an "easy" way or do I have to parse the permissions myself?
107334
Few days back I have installed ecryptfs, created a private directory using it. Now my Ubuntu login became super slow. I have tried removing ecryptfs from Synaptic. I found It, it can not be deleted that way. Somewhere I have read about this command  ecryptfs-setup-private --undo   But this command displays a rather confusing list of commands on terminal. I don't want to mess up my installation, neither want to loose my administrator account.  Now my question is, how can I safely remove /home/user/Private (.Private) and remove ecryptfs encryption ?
108079
I have got a specific folder located in "/home/.../reboot/".  I have a series of users that require read-only access to the ever changing files within.  My problem is that the same users are not authorized to view any of the parent directory files.  Right now, the only thing I have in place is that their starting folder is at "/home/.../reboot/" by changing the etc/passwd file; and I need to block all access to other folders.  How could I only give them access to this directory?
71164
My MS Office files and pdf files has been encrypted by some ransomware in my pc which was running window XP. I removed the ransomware,formated the OS and put windows 7, but my files are still encrypted. Is there any way of decrypting it as it very important files and i dont have a backup of these files. Some one pls help me out of this mess.
36763
I have messed up my sudoers file and I want to change the permission on it.   When I login in recovery mode, I cannot run the command chmod as it is read-only option.  I tried mount -o remount,rw / in recovery mode. Didn't work for me:  Err : Ext4-fs remount. Opts errors=remount-ro    How can I boot into recovery mode and with read-write option?
30711
I would like to help to my friend.  She opened a email, and after that, all files is transform to some encrypt format on she computer.  Every image, document extension replaced by .locky.  Now, after hours and hours searching on google I dosen't find any trusted way for she get back they files.  I hope we can find out something.  What I already tried:   Remove virus with programs: Malwerebytes, Hitmanpro, they dosen't find any result. I tried restore the system from the control panel.-Gess what, no restore points.. I tried shadowfile explorer, which capable search shadow files-No results. I tried rename files from .locky to original format like:png,jpg, etc.- Dosen't work either.   At this point I gived up, I need some help from a experted person.  We would like to target one specifick file types, images, like jpg, jpeg, png and others.  Is there anyway for we can recover this files, without for we need to pay to the hacker?  My friend does not have any backups of the files in question.
17535
I wonder what is the best practice for storing the virtual machine encrypted. I tried putting the image it a TrueCrypt volume, but it doesn't work nicely:   With the volume unmounted the VirtualBox complaints about missing VM disk, which is a bit annoying after a while. There's no way to quickly unmount the volume without shutting down the VM first (except for a dirty unmount, which is no good idea).   Maybe there's a better way or maybe a VM integrating encryption?
22857
I have a file with an ext4 file system in it and want to mount it without using sudo every time (the script should run with user rights). The file I want to mount and the folder which I want to mount it too both are in my home directory which is encrypted, so I can't put the file location into /etc/fstab.  I tried fusermount but I always get error messages like "fusermount: extra arguments after the mountpoint".
8339
After entering the correct passphrase at the command ecryptfs-mount-private, I am getting this error:  torben@torben-nettop:~$ sudo ecryptfs-recover-private INFO: Searching for encrypted private directories (this might take a while)... INFO: Found [/media/0f417b42-11a0-4539-9cae-e11ce3b289c3/home/.ecryptfs/   torben/.Private]. Try to recover this directory? [Y/n]: y INFO: Enter your LOGIN passphrase... Passphrase:  Error: Unwrapping passphrase and inserting into the user session keyring   failed [-5] Info: Check the system log for more information from libecryptfs torben@torben-nettop:~$    Syslog has this information:  ecryptfs-insert-wrapped-passphrase-into-keyring:     Incorrect wrapping key for file [/home/torben/.ecryptfs/wrapped-passphrase]   ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to unwrap   passphrase from file [/home/torben/.ecryptfs/wrapped-passphrase]; rc = [-5]   --> Given that I am absolutely sure that I am entering the correct passphrase, what can I do to fix this problem so that I can read the encrypted home folder?  Some background:   I have installed Ubuntu 11.04 on a new drive and I want to copy my home folder from the old drive, which is encrypted (I have the passphrase). With the help of , I followed  yesterday and successfully gained access to the encrypted home folder. This proves that my passphrase does indeed work.  I then started the machine on copying from the old encrypted home folder to the new unencrypted home folder and went to bed. When I returned to the computer, I saw that it had suspended itself :( and had not finished copying the folder.  I rebooted the computer, and removed the temporary /recovery folders, then followed the exact same steps again, but this is when I encountered the error given above. I tried this several times; always the same result. I am absolutely sure that I am typing the passphrase correct.
15944
I'm running Windows Vista, which is installed on my primary drive.  I have a second hard drive installed, which used to host my Windows XP install, and I'm trying to delete the Documents folder, but I don't have permissions to do so.  Is there a way I can reset the permissions on all subfolders of my second drive?
116866
I am installing Ubuntu 13 with full encryption but why am I given the option to also encrypt my home folder. Surely the home folder is covered under the system encryption? I'm confused.
97803
Hi I'm trying to access my home directory on my laptop hard drive through a live usb. I cannot boot into the OS on the hard drive and the home and root directory is encrypted. I have the encryption key but when I try to run the tool to gain access it pops up for a second then disappears and when I run the command in Terminal it says "Encrypted private directory is not setup properly". What are my options on getting into the directory? I really need to get the data off my laptop.
56549
I have moved contents of another drive into my home directory, but the permissions are not what they should be. First, I changed ownership by entering:    ~$ sudo chown -R USERME /home/USERHOME/   Which I think works now.  But now, I wanted to simply change all of the files and sub-directories into the default permissions, with files being read+write, and directories being r+w+x. I have not found a recursive way of handling this. I have run:    ~$ sudo chmod 755 -R /home/USERHOME/   To make everything available to me. However, files appear as executables, and this is not what I want. There are plenty more sub-directories and files so I am looking for a simple recursive solution.  Basically, I think I am looking for a recursive way to reapply the default umask parameter to a whole folder with (I think) chmod.    Update:  I have posted a solution thanks to @SkyDan and