Skip to contentSkip to conversation

Filesystem boundaries

DISCUSSION Karl-Philipp Richter 2 participants 3 messages Jul 5, 2013 – Jul 8, 2013 Ecrypt file system

lore
Share & tools
lore
#0 lore raw

Hi together,
I'm new to mailing list and hope to be at the right address. I tried to figure out how to prevent ecryptfs to cross file system borders or exclude subdirectories of the source directory (the current setup is that I linked a lot of directories from an encrypted disk, which don't need encryption). I guess it's explained somewhere. So I'd rather suggest to put it on the man page.

Greetings, Kalle

#1 lore raw

Are those subdirs basically symbol links to somewhere else not inside the eCryptfs dir? Then those dirs won't be encrypted by eCryptfs. For native subdirs, eCryptfs could not exclude them for being encrypted.

Quoted 10 lines · Karl-Philipp Richter

Hi together,
I'm new to mailing list and hope to be at the right address. I tried to figure out how to prevent ecryptfs to cross file system borders or exclude subdirectories of the source directory (the current setup is that I linked a lot of directories from an encrypted disk, which don't need encryption). I guess it's explained somewhere. So I'd rather suggest to put it on the man page.

Greetings, Kalle

#2 lore raw

Hi Li,
thanks for your answer. In this case I obviously have a problem: My / drive has 30 GB capacity (Ubuntu takes 10 GB (outside the encypted ~) max. My data is linked to ~ from /mnt/xy and ~ contains effectively less than 500 MB, but ~/home/.ecryptfs has about 20 GB. Can you point me into a direction how to debug this (I know that I'm on dev list where this doesn't belong... I opened
http://askubuntu.com/questions/317391/how-to-prevent-ecryptfs-from-crossing-filesystem-boundaries)?

Greetings, Kalle

Am 08.07.2013 03:05, schrieb Li Wang:

Quoted 15 lines

Are those subdirs basically symbol links to somewhere else not inside the eCryptfs dir? Then those dirs won't be encrypted by eCryptfs. For native subdirs, eCryptfs could not exclude them for being encrypted.

Quoted 10 lines · Karl-Philipp Richter

Hi together,
I'm new to mailing list and hope to be at the right address. I tried to figure out how to prevent ecryptfs to cross file system borders or exclude subdirectories of the source directory (the current setup is that I linked a lot of directories from an encrypted disk, which don't need encryption). I guess it's explained somewhere. So I'd rather suggest to put it on the man page.

Greetings, Kalle