dimanche 1 février 2015

How do I automatically bind mount on boot in a non-root encrypted home directory?


I want to bind mount a directory within my home when I log on. The line in fstab would be



/foo/bar /home/me/wherever none bind 0 0


The trouble is my home directory is encrypted, so it has to happen after I log in. The problem is my login scripts don't have permission to run mount.


Is there a way to do this?



Aucun commentaire:

Enregistrer un commentaire