umount.ecryptfs_private(1)
β¨ umount.ecryptfs_private β¨
okay bestie, so this is the eCryptfs private unmount helper π that's literally the NAME of the whole situation.
πΈ SYNOPSIS πΈ
umount.ecryptfs_private [-f]
β οΈ okay this is important so listen up: this program will not clear the relevant keys from the user's keyring. not even a little. and because of that, the recommendation is that you use ecryptfs-umount-private(1) instead, fr fr π that's the one you want, this is the one you're looking at.
π OPTIONS π
here's everything you can throw at the umount.ecryptfs_private command:
-fβ force the unmount, and just ignore the value of the mount counter in/tmp/ecryptfs-USERNAME-Private. like, who cares what the counter says, we're going π
π DESCRIPTION π
umount.ecryptfs_private is a mount helper utility that lets non-root users unmount a cryptographically mounted private directory, ~/Private. no sudo required, we're doing this as ourselves π«Ά
so here's the tea β if, and only if:
- the private mount passphrase is in their kernel keyring, and
- the current user owns both
~/.Privateand~/Private, and ~/.Privateis currently mounted on~/Private, and- the mount counter is
0(and ngl the counter is ignored if the-foption is used)
then this program will:
- unmount
~/Private
and that's it. that's the whole move β¨
the only setuid operationis in this program are the call to umount and updating /etc/mtab.
the system administrator can add the pam_ecryptfs.so module to the PAM stack and automatically perform the unmount on logout. see pam_ecryptfs(8). yes it can just happen for you, iconic behavior honestly π
π¦ FILES π¦
~/.Privateβ underlying directory containing encrypted data π~/Privateβ mountpoint containing decrypted data (when mounted) π~/.ecryptfs/Private.sigβ file containing signature of mountpoint passphrase/tmp/ecryptfs-USERNAME-Privateβ file containing the mount counter, incremented on each mount, decremented on each unmount π§
π SEE ALSO π
ecryptfs(7), ecryptfs-setup-private(1), keyctl(1), mount(8), mount.ecryptfs_private(1), pam_ecryptfs(8)
/usr/share/doc/ecryptfs-utils/ecryptfs-faq.html
π AUTHOR π
this manpage and the umount.ecryptfs_private utility was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but may be used by others). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
on Debian and Ubuntu systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
okay that's the whole page bestie, sending you off with the deets: this is ecryptfs-utils, dated 2008-07-21, and the page you just read is umount.ecryptfs_private(1). slay, stay encrypted, unmount responsibly πβ¨π¦
π¦ where this page comes from
- alpine 3.24: ecryptfs-utils-doc 111-r19 Β· GPL-2.0-or-later
- arch rolling: ecryptfs-utils 111-9 Β· GPL
- debian bookworm: ecryptfs-utils 111-6 Β· GPL-2.0-or-later
- debian trixie: ecryptfs-utils 111-8 Β· GPL-2.0-or-later
- fedora 43: ecryptfs-utils 111-41.fc43 Β· GPL-2.0-or-later
- fedora 44: ecryptfs-utils 111-42.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- opensuse-leap 16.0: ecryptfs-utils 111-bp160.1.12 Β· GPL-2.0-only
- ubuntu jammy: ecryptfs-utils 111-5ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: ecryptfs-utils 111-6ubuntu3 Β· GPL-2.0-or-later
- ubuntu questing: ecryptfs-utils 111-8
- ubuntu resolute: ecryptfs-utils 111-8build2 Β· GPL-2.0-or-later
- ubuntu stonking: ecryptfs-utils 111-8build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms