Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted folder does not unmount when user logs out from KDE (SDDM) #814

Open
VitaliFrolov opened this issue Dec 28, 2023 · 1 comment
Open

Comments

@VitaliFrolov
Copy link

VitaliFrolov commented Dec 28, 2023

I have followed this guide to set up home folder encryption and unlock on log in:
https://github.com/rfjakob/gocryptfs/wiki/Mounting-on-login-using-pam_mount

I have used a "test" user for initial testing. I am on Debian 12 with KDE and SDDM.

Everything works as expected at first. When I log in as "test" the encrypted folder is mounted. But when I log out from the KDE session via KDE GUI button "log out" the encrypted volume is still there and accessible for all other users in the system. After I log out and switch to a different user I can do:

sudo ls /home/test
GOCRYPTFS_MOUNTED

This is only happening if I log out via KDE GUI. If I log out in the terminal the encrypted folder is unmounted and no longer accessible for other users.

@dw-loewe
Copy link

I can reproduce this here, debian 12; have exactly the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants