From f054353bd3b05ab0d3d024ec8fa809bc5fed1d08 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 8 Oct 2016 20:57:38 +0200 Subject: reverse: make gocryptfs.conf mapping plaintextnames-aware 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. --- internal/fusefrontend/args.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/fusefrontend') diff --git a/internal/fusefrontend/args.go b/internal/fusefrontend/args.go index 64ca899..204647d 100644 --- a/internal/fusefrontend/args.go +++ b/internal/fusefrontend/args.go @@ -14,4 +14,8 @@ type Args struct { // 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 } -- cgit v1.2.3