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

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

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?

Regards,
Moritz

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

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 :
#3

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