diff --git a/scripts/restore b/scripts/restore index f887672..cc192c4 100755 --- a/scripts/restore +++ b/scripts/restore @@ -70,6 +70,10 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +config="$final_path/.env" +chmod 400 "$config" +chown $app:$app "$config" + #================================================= # RESTORE THE PHP-FPM CONFIGURATION #=================================================