From 1cfae51790047c0eb9d647ecb5f1917ce605e0da Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 17 Mar 2025 10:08:53 +0100 Subject: [PATCH] Kimai: Fix Permission Issue on new Timerecords (#3136) * Kimai: Fix Permission Issue on new Timerecords * Update kimai-install.sh * Update kimai.sh --- ct/kimai.sh | 3 +-- install/kimai-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ct/kimai.sh b/ct/kimai.sh index 63c2f5056..98a7ae86f 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -57,9 +57,8 @@ function update_script() { chown -R :www-data . chmod -R g+r . chmod -R g+rw var/ - chmod -R 777 /opt/kimai/var/ + chmod -R 777 /opt/kimai/* chown -R www-data:www-data /opt/kimai - chmod -R 755 /opt/kimai echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated ${APP} to ${RELEASE}" diff --git a/install/kimai-install.sh b/install/kimai-install.sh index bb308cd29..469194f2e 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -75,8 +75,8 @@ chown -R :www-data /opt/* chmod -R g+r /opt/* chmod -R g+rw /opt/* chown -R www-data:www-data /opt/* -chmod -R 755 /opt/* -chmod -R 777 /opt/kimai/var/ +chmod -R 777 /opt/* +chmod -R 777 /opt/kimai/* $STD expect <