-
Notifications
You must be signed in to change notification settings - Fork 300
Hello GoCryptFS discussants,
I'm relatively new to Linux and new to GoCryptFS, so please excuse my question if it's trivial, but I haven't found a working answer yet.
My situation:
- Linux Ubuntu; gocryptfs installed; everything works fine when I mount the directory clear manually.
- The configuration file is this: /home/carnap/gocryptfs/gocrypt.conf
- The directory for the encrypted files: /media/backup_cloud/secret
- a directory as a mount point for displaying the decrypted files: /media/backup_cloud/clear
- In the root directory I have stored a hidden file with the password for decryption: /root/.gocryptfs_pw
Problem: I would like the clear directory to be mounted accordingly at system startup so that I have immediate access to the decrypted files. How do I do this?
I have added the following line to the fstab:
/media/backup_cloud/secret /media/backup_cloud/clear fuse./usr/bin/gocryptfs rw,nofail,auto,x-systemd.idle-timeout=10,x-systemd.automount,allow_other,quiet,passfile=/root/.gocryptfs_pw 0 0
It cannot find the configuration file. Where in the line should I specify it?
Best regards
All reactions
Replies: 1 comment
For Ubuntu Linux, the pam_mount works fine:
https://github.com/rfjakob/gocryptfs/wiki/Mounting-on-login-using-pam_mount
However, it works on user login instead of system startup. If you are ok
with that, you could give it a try.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment