diff options
author | Erich Eckner <git@eckner.net> | 2019-09-02 13:57:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-02 13:57:18 +0200 |
commit | a5f105f46671467aa46fcedef99a80d4f0ddadec (patch) | |
tree | 808f339824c78364c1f893ff38c4593f1faf9d53 | |
parent | fee2608f4cb4f28e388f5d4cf367f79d39de7bc6 (diff) | |
download | simple-pki-a5f105f46671467aa46fcedef99a80d4f0ddadec.tar.xz |
sign-ca: also chown -R $ca_user the key dir
-rwxr-xr-x | sign-ca.in | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ fi if [ -n "${ca_user}" ] \ && [ "$(whoami)" != "${ca_user}" ]; then + chown -R "${ca_user}" '#ETCDIR#/simple-pki/ca' exec su "${ca_user}" -c "$0" fi |