In the meantime, I have just written a simple script rather than calling ecryptfs-umount-private directly using the startup application under the preferences menu which just unmounts the ecryptfs Private dir, remounts it (it DOES NOT ask for the login passphrase, at least on my system), and then turns around and unmounts it again. A nasty quick-fix band-aid-type fix for this problem until I find out how to go to the source with it to prevent mounting in the first place.
I put the code below in ~/bin/privatize where privatize is the file.
Code:
#! /bin/bash
#unmount private folder - ecryptfs-unmount-private is run twice to ensure keyring is cleared
ecryptfs-umount-private
ecryptfs-mount-private
ecryptfs-umount-private
exit
then make it runnable with:
Code:
chmod +x ~/bin/privatize
I then used Menu->Preferences->startup applications to add this file to the startup processes.
It works like a charm. Now, just for the source of the mounting in the first place.
Narnie
Bookmarks