1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#This file is parsed top to bottom, until the first mount line that matches is found, then it stops.
#Note that I dont support spaces in params
#So if your for example gonna specify idle time use --idle=X not -i X.
#If this is specified program will attempt to drop permissions before running encfs.
#(will not work with --public for example, as that requires encfs to run as root)
drop_permissions
#This specifies which options to pass to encfs for every user.
#You can find encfs options by running encfs without any arguments
encfs_default --idle=1
#Same for fuse, note that allow_root (or allow_other, or --public in encfs) is needed to run gdm/X.
#you can find fuse options with encfs -H
fuse_default allow_root,nonempty
#For a mount line, - = generic, we try to fill in what we need.
#A Mount line is constructed like this:
#USERNAME if "-" or "*" gets replaced with $USER
#SOURCE if USERNAME is -, replace with path + /$USER
# if USERNAME is *, replace with $HOME/ + sourcepath
#TARGET PATH if - replace with $HOME
# if USERNAME is *, replace with $HOME/ + targetpath
#ENCFS OPTIONS encfs options here is encfs_default + encfs_options
#FUSE OPTIONS encfs options here is fuse_default + fuse_options
#Keep in mind that the configuration file is parsed top to bottom, so if you put your generic line on top,
#that will always match before any custom lines under it.
#In this example, with example_user uncommented, the "-" line will never be parsed if you login as example_user.
#In the lines with the USERNAME "*", all paths are relative to $HOME
#USERNAME SOURCE TARGET PATH ENCFS Options FUSE Options
#example_user /mnt/enc/example_user /home/example_user -v,--idle=1 allow_root
#* .private private -v allow_other
- /mnt/enc - -v allow_other
|