1.sudo apt install
sudo apt-get install ecryptfs-utils
sudo modprobe ecryptfs
ecryptfs-setup-private
mount and umount
alias ms='echo "cd ;sudo mount -t ecryptfs .Private/ scrt/ ; cd scrt; tree ";cd ;sudo mount -t ecryptfs .Private/ scrt/ ;cd scrt;tree;'
alias ums='echo "cd ;sudo umount scrt/ ;";cd ;sudo umount scrt/ ;tree scrt;'
ecryptfs-setup-private --noautoumount
a bad news:
you can delelte file encrypt by other passwd.
setup the permission :
http://manpages.ubuntu.com/manpages/bionic/man1/ecryptfs-setup-private.1.html