diff --git a/scripts/restore b/scripts/restore index b0b410c..25eb4f6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,6 +69,8 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" chmod u+x $final_path/yunomonitor.py +chmod u+w $final_path/conf +chmod u+w $final_path/well-known #================================================= # RESTORE SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 67dcde1..ecdae6a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -74,6 +74,8 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" chmod u+x $final_path/yunomonitor.py +chmod u+w $final_path/conf +chmod u+w $final_path/well-known #================================================= # NGINX CONFIGURATION