]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
Make 'fscrypt setup' offer a choice of directory modes
authorEric Biggers <ebiggers@google.com>
Wed, 23 Feb 2022 20:35:04 +0000 (12:35 -0800)
committerEric Biggers <ebiggers@google.com>
Wed, 23 Feb 2022 20:35:04 +0000 (12:35 -0800)
commit6e355131670ad014e45f879475ddf800f0080d41
treeb323dd02a668b36a4b07f9f8275d6555acb00dbb
parent45599bdfad300f1a034c70dd70b4bd180d66f52c
Make 'fscrypt setup' offer a choice of directory modes

World-writable directories are not appropriate for some systems, so
offer a choice of single-user-writable and world-writable modes, with
single-user-writable being the default.  Add a new documentation section
to help users decide which one to use.
22 files changed:
README.md
actions/context_test.go
cli-tests/run.sh
cli-tests/t_encrypt.out
cli-tests/t_encrypt_custom.out
cli-tests/t_encrypt_login.out
cli-tests/t_encrypt_raw_key.out
cli-tests/t_metadata.out
cli-tests/t_not_supported.sh
cli-tests/t_setup.out
cli-tests/t_setup.sh
cli-tests/t_single_user.out [new file with mode: 0644]
cli-tests/t_single_user.sh [new file with mode: 0755]
cli-tests/t_status.out
cli-tests/t_v1_policy.out
cmd/fscrypt/commands.go
cmd/fscrypt/errors.go
cmd/fscrypt/flags.go
cmd/fscrypt/setup.go
cmd/fscrypt/status.go
filesystem/filesystem.go
filesystem/filesystem_test.go