diff --git a/scripts/restore b/scripts/restore index 21159ea..6670309 100644 --- a/scripts/restore +++ b/scripts/restore @@ -73,7 +73,7 @@ ynh_system_user_create --username=$app # Restore permissions on app files chown -R root: $final_path chown -R $app: $final_path/db -chmod 660 -R $final_path/db +chmod -R 750 $final_path/db #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index c1b8263..7bd5d7f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -142,7 +142,7 @@ ynh_replace_string --match_string="__PORT_WG__" --replace_string="$port_wg" --ta # Set permissions on app files chown -R root: $final_path chown -R $app: $final_path/db -chmod 750 -R $final_path/db +chmod -R 750 $final_path/db #================================================= # SETUP LOGROTATE