How can gnome-encfs-manager be configured to keep mountpoints

Asked by David Ayers

The mount point directories, even those not orginally created by gnome-encfs-manager, are removed when unmounted. I would like to configure gnome-encfs-manager to keep the mount points directories. Can this currently be done?

Question information

English Edit question
Gnome Encfs Manager Edit question
No assignee Edit question
Solved by:
David Ayers
Last query:
Last reply:
Revision history for this message
Moritz Molch (mmolch) said :

Thank you for for question.

You could set the variable post_unmount_command in the advanced stash configuration to
mkdir "$MOUNT_DIR"
to recreate the mount-directory after the stash is unmounted. Really "keeping" the mount-points isn't supported because it is imho too easy to accidentally save unencrypted files. Is there a special reason why you want to keep the mount-points?


Revision history for this message
David Ayers (ayers) said :

Thank you very much for the quick reply!

I had already tried something similar (ie. : mkdir ~/.Encfs/mountpoint) but that didn't work, but it is working fine with you suggestion. Problem Solved!

I use symlinks from my $HOME for some the encrypted directories and the fact, that the target of these symlinks are missing, confuses XDG desktop setting when logging in, implicitly resetting the variables to the parent directory.

I understand your fear, but I'd consider using access rights to prevent that.

Revision history for this message
Moritz Molch (mmolch) said :

I added the option to keep the mount-directory in version