summaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/mount.go b/mount.go
index 6da6492..59116d6 100644
--- a/mount.go
+++ b/mount.go
@@ -249,6 +249,10 @@ func initFuseFrontend(key []byte, args *argContainer, confFile *configfile.ConfF
// Make the kernel check the file permissions for us
mOpts.Options = append(mOpts.Options, "default_permissions")
}
+ if args.forcedecode {
+ tlog.Info.Printf(tlog.ColorYellow + "THE OPTION \"-forcedecode\" IS ACTIVE. GOCRYPTFS WILL RETURN CORRUPT DATA!" +
+ tlog.ColorReset)
+ }
if args.nonempty {
mOpts.Options = append(mOpts.Options, "nonempty")
}