From 75335f33626675a3eb47673bc8d6cf6dfafdc874 Mon Sep 17 00:00:00 2001 From: Maximilian Bosche Date: Tue, 12 Aug 2025 09:38:24 +0000 Subject: [PATCH] change owner of hortusfox folder (#6763) --- ct/hortusfox.sh | 1 + install/hortusfox-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/hortusfox.sh b/ct/hortusfox.sh index 0f131ce82f..716f3bb29d 100644 --- a/ct/hortusfox.sh +++ b/ct/hortusfox.sh @@ -47,6 +47,7 @@ function update_script() { $STD php asatru migrate --no-interaction $STD php asatru plants:attributes $STD php asatru calendar:classes + chown -R www-data:www-data /opt/hortusfox msg_ok "Updated HortusFox" msg_info "Starting Service" diff --git a/install/hortusfox-install.sh b/install/hortusfox-install.sh index e24c0d9445..c727c78bba 100644 --- a/install/hortusfox-install.sh +++ b/install/hortusfox-install.sh @@ -88,6 +88,7 @@ cat </etc/apache2/sites-available/hortusfox.conf CustomLog \${APACHE_LOG_DIR}/hortusfox_access.log combined EOF +chown -R www-data:www-data /opt/hortusfox $STD a2dissite 000-default $STD a2ensite hortusfox $STD a2enmod rewrite