Skip to content

Commit

Permalink
Fix gh-174 to correct the configuration.php ownership and permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Llewellynvdm committed Jan 19, 2024
1 parent e76b774 commit d90c4f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d90c4f6

Please sign in to comment.