Set the right permission

This commit is contained in:
Éric Gaspar 2024-09-26 14:31:01 +02:00
parent 09ce2ea730
commit d28e270024

View file

@ -28,7 +28,7 @@ ynh_script_progression "Restoring the data directory..."
ynh_restore "$data_dir"
### (Same as for install dir)
chown -R "$app:www-data" "$data_dir"
chown -R "$app:$app" "$data_dir"
#=================================================
# RESTORE THE MYSQL DATABASE