Kimai: Fix Permission Issue on new Timerecords (#3136)

* Kimai: Fix Permission Issue on new Timerecords

* Update kimai-install.sh

* Update kimai.sh
This commit is contained in:
CanbiZ 2025-03-17 10:08:53 +01:00 committed by GitHub
parent 3fb31522c3
commit 1cfae51790
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -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}"

View File

@ -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 <<EOF
set timeout -1
log_user 0