From 61464729e79d4b27a878718a92e4e3b70f7ad317 Mon Sep 17 00:00:00 2001 From: ebiggers Date: Tue, 24 Sep 2019 04:04:02 -0700 Subject: cmd/fscrypt: make 'fscrypt setup' create /.fscrypt (#149) Make the global setup command also create the metadata directory at /.fscrypt, since that's where login protectors are placed, even when the actual encrypted directories are on a different filesystem. Resolves https://github.com/google/fscrypt/issues/129 --- cmd/fscrypt/setup.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'cmd/fscrypt/setup.go') diff --git a/cmd/fscrypt/setup.go b/cmd/fscrypt/setup.go index f2fff96..2bb15ef 100644 --- a/cmd/fscrypt/setup.go +++ b/cmd/fscrypt/setup.go @@ -72,7 +72,5 @@ func setupFilesystem(w io.Writer, path string) error { } fmt.Fprintf(w, "Metadata directories created at %q.\n", ctx.Mount.BaseDir()) - fmt.Fprintf(w, "Filesystem %q (%s) ready for use with %s encryption.\n", - ctx.Mount.Path, ctx.Mount.Device, ctx.Mount.Filesystem) return nil } -- cgit v1.2.3