Hello Dustin,

Dustin Kirkland [2009-11-05 14:51 -0000]:
> cat ~/.ecryptfs/Private.mnt
> 
> Inside of that file will be the path of the encrypted mountpoint,
> which might be $HOME, $HOME/Private, or any other directory owned by
> the user.

Ah, interesting, thanks. I don't even have that, but then again my
/home is already very old (I think I set up ecryptfs ~/Private in
intrepid or even earlier; whenever it came up first)

So would you think that this is an appropriate test for "Has encrypted
(bits of) home directory"?

(in shell syntax)

  [ -d ~/.Private -a -d ~/.ecryptfs ] || [ -e ~/.ecryptfs/Private.mnt ]

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
[PATCH] detect users with encrypted home for kernel bug reports
https://bugs.launchpad.net/bugs/444656
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to