32
3
mirror of https://github.com/joomla-docker/docker-joomla.git synced 2024-05-29 12:30:47 +00:00

Fix gh-174 to correct the configuration.php ownership and permissions.

This commit is contained in:
Llewellyn van der Merwe 2024-01-19 18:48:58 +02:00
parent e76b77414d
commit d90c4f65ac
Signed by: Llewellyn
GPG Key ID: A9201372263741E7

View File

@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation