Skip to content

Commit 4cbf9ef

Browse files
committed
Merge #432 - Fix Permissions of config.secret.inc.php
Pull-request: #432 Signed-off-by: William Desportes <[email protected]>
2 parents 6a4843e + 3e0bcce commit 4cbf9ef

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

apache/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
77
\$cfg['blowfish_secret'] = '$(tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-' < /dev/urandom | fold -w 32 | head -n 1)';
88
EOT
99
fi
10+
chgrp www-data /etc/phpmyadmin/config.secret.inc.php
1011

1112
if [ ! -f /etc/phpmyadmin/config.user.inc.php ]; then
1213
touch /etc/phpmyadmin/config.user.inc.php

docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
77
\$cfg['blowfish_secret'] = '$(tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-' < /dev/urandom | fold -w 32 | head -n 1)';
88
EOT
99
fi
10+
chgrp www-data /etc/phpmyadmin/config.secret.inc.php
1011

1112
if [ ! -f /etc/phpmyadmin/config.user.inc.php ]; then
1213
touch /etc/phpmyadmin/config.user.inc.php

fpm-alpine/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
77
\$cfg['blowfish_secret'] = '$(tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-' < /dev/urandom | fold -w 32 | head -n 1)';
88
EOT
99
fi
10+
chgrp www-data /etc/phpmyadmin/config.secret.inc.php
1011

1112
if [ ! -f /etc/phpmyadmin/config.user.inc.php ]; then
1213
touch /etc/phpmyadmin/config.user.inc.php

fpm/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
77
\$cfg['blowfish_secret'] = '$(tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-' < /dev/urandom | fold -w 32 | head -n 1)';
88
EOT
99
fi
10+
chgrp www-data /etc/phpmyadmin/config.secret.inc.php
1011

1112
if [ ! -f /etc/phpmyadmin/config.user.inc.php ]; then
1213
touch /etc/phpmyadmin/config.user.inc.php

0 commit comments

Comments
 (0)