aboutsummaryrefslogtreecommitdiff
path: root/cli-tests/t_not_enabled.sh
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-12-09 14:36:03 -0800
committerEric Biggers <ebiggers3@gmail.com>2023-12-11 19:33:48 -0800
commita6c5029cd114cd27cc59024e968feb4765e5323d (patch)
treeca36a75d27d3a8cca37c0d1aa5a09df9e88ffc25 /cli-tests/t_not_enabled.sh
parent6c5fc571ba7b851e7b36b054fd428bf6ad779dcc (diff)
Provide better error message when given a locked regular file
Since opening an encrypted regular file that is locked fails with ENOKEY, getting the encryption policy of such a file is not possible. As a result, 'fscrypt status' and 'fscrypt lock' fail on such files. Provide a better error message that tries to explain what is going on. Resolves https://github.com/google/fscrypt/issues/393
Diffstat (limited to 'cli-tests/t_not_enabled.sh')
0 files changed, 0 insertions, 0 deletions