Improvement : use 755

This commit is contained in:
alexbelgium
2025-08-02 13:18:42 +02:00
parent a8491b99b4
commit 35c83cc224
27 changed files with 539 additions and 35 deletions

View File

@@ -38,7 +38,7 @@ if bashio::config.has_value 'Updates'; then
# Sets cron // do not delete this message
freqDir="/etc/periodic/${FREQUENCY}"
cp /templates/cronupdate "$freqDir/"
chmod 777 "$freqDir/cronupdate"
chmod 755 "$freqDir/cronupdate"
# Sets cron to run with www-data user
# sed -i 's|root|www-data|g' /etc/crontab