I am a bit unsure about how ubuntus encrypted home folder works compared to a truecrypt partition (which is what I have used before). When I am logged in, will other users on my computer be able to access the files in my encrypted home folder?
|
If you enable Ubuntu's Home Directory Encryption, your This is in contrast to the default Ubuntu Home Directory permissions, which are 755 ( These are called Discretionary Access Controls (DAC), and come from the earliest days of UNIX itself. The root user (perhaps via sudo as you mentioned above), is privileged in a way that allows them access to any file or directory, regardless of the DAC permissions in place. That means that yes, while your home directory is mounted, the root user is able to browse your home directory. However, when your home directory is not mounted, the root user would need your login passphrase (or, more specifically, your randomly generated mount passphrase) in order to mount and decrypt your data. In general, the encrypted filesystem that we use (eCryptfs) is intended to protect your data at rest on the hard drive, rather than protect you from your own root user. Full disclosure: I am the author of Ubuntu's Encrypted Home Directory feature, and the current maintainer of eCryptfs. |
|||||
|
|
In principle they can, but the default permissions on the home directory ( |
|||
|
|