f054353bd3
Only in plaintextnames-mode AND with the config file at the default location it will be mapped into the mountpoint. Also adds a test for that.
22 lines
680 B
Go
22 lines
680 B
Go
package fusefrontend
|
|
|
|
import (
|
|
"github.com/rfjakob/gocryptfs/internal/cryptocore"
|
|
)
|
|
|
|
// Args is a container for arguments that are passed from main() to fusefrontend
|
|
type Args struct {
|
|
Masterkey []byte
|
|
Cipherdir string
|
|
CryptoBackend cryptocore.BackendTypeEnum
|
|
PlaintextNames bool
|
|
LongNames bool
|
|
// Should we chown a file after it has been created?
|
|
// This only makes sense if (1) allow_other is set and (2) we run as root.
|
|
PreserveOwner bool
|
|
// ConfigCustom is true when the user select a non-default config file
|
|
// location. If it is false, reverse mode maps ".gocryptfs.reverse.conf"
|
|
// to "gocryptfs.conf" in the plaintext dir.
|
|
ConfigCustom bool
|
|
}
|