The ecrypted folder is created when you run the script, it asks you for a passphrase that gets stored in /home/<user>/.ecryptfs. It also creates three directories in the users home directory, .Private, Private and .ecrytfs. As it stands right now these directories are set and the names can not be changed. When the Privated directory is unmounted you get the following message:
Code:
THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA -- Run mount.ecryptfs_private to mount again -> /sbin/mount.ecryptfs_private
The permissions on the Private directory are 40500 when unmounted and 40700 when the directory is mounted.
In other words the owner has read and execute/search access when the private directory is umount and read, write and execute/search access when the private directory is mounted.
Jim
Bookmarks