www-data should work for now
parent
a7389605da
commit
00ba98143c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue