summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsign-ca.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/sign-ca.in b/sign-ca.in
index 4f65463..25d1a98 100755
--- a/sign-ca.in
+++ b/sign-ca.in
@@ -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