Mounting your encrypted Dropbox and Google Drive Folders at Login Gnome 3 ( Fedora 21 )

Written by James McDonald

February 13, 2015

After the Edward Snowden Revelations it’s probably a bad idea to store your documents unencrypted in the cloud. Unless of course you have nothing to hide, no desire for privacy, and store nothing financially sensitive, and believe the US government is unswervingly benevolent.

Anyway for my cloud synced drives that contain encFS folders I was using cryptkeeper to mount them after I logged in, which is great, but I found that it was just another thing to do after login…

So another option is to mount your encfs volumes at login and trust to the Gnome Keyring your encFS credentials and use gnome-encfs to mount the folder.

So I did just that you download and compile gnome-encfs at https://bitbucket.org/obensonne/gnome-encfs/ and then follow the very clear instructions.

I found the /etc/gdm/PostSession/Default script they mentioned didn’t work for me. But under Fedora 21 the following served to unmount the encFS folder at logout.

#!/bin/sh

#wrapped for readability
mount -t fuse.encfs | grep user_id=`id -u $USER` | \
awk '{print $3}'| \
while read MPOINT ; 
do 
sudo -u $USER fusermount -u $MPOINT ; 
done

Anyway you should probably use client side encryption on your cloud files and have a look at some information on password length from XKCD.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...