www-data should work for now

master
Keith Irwin 2022-10-20 19:18:28 -06:00
parent a7389605da
commit 00ba98143c
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ fi; if ! sudo [ -f "${SSL_CONFIG_DIR:?}/${username:?}/${hostname:?}/server.crt"
fi; if ! sudo chmod 644 "${SSL_CONFIG_DIR}/${username}/${hostname}/server.crt"; then
printf 'ERROR! Failed to chmod SSL cert %s/%s/server.crt\n' "${username}" "${hostname}" >>"${LOGFILE}"
exit 8
fi & if ! sudo chown -R "${username}:${username}" "${SSL_CONFIG_DIR}/${username}/"; then
fi & if ! sudo chgrp -R www-data "${SSL_CONFIG_DIR}/${username}/"; then
printf 'ERROR! Failed to set %s owner to %s!\n' "${username}:${username}" "${SSL_CONFIG_DIR}/${username}/" >>"${LOGFILE}"
# Remove old files