File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ RUN set -ex; \
5555 mv phpMyAdmin-$VERSION-all-languages /www; \
5656 rm -rf /www/setup/ /www/examples/ /www/test/ /www/po/ /www/composer.json /www/RELEASE-DATE-$VERSION; \
5757 sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/etc/phpmyadmin/');@" /www/libraries/vendor_config.php; \
58- chown -R root: nobody /www; \
58+ chown -R nobody:nogroup /www; \
5959 find /www -type d -exec chmod 750 {} \; ; \
6060 find /www -type f -exec chmod 640 {} \; ; \
6161# Add directory for sessions to allow session persistence
Original file line number Diff line number Diff line change 1- user nobody;
1+ user nobody nogroup ;
22worker_processes 4;
33
44daemon off;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ log_level = warning
44
55[www]
66user = nobody
7- group = nobody
7+ group = nogroup
88listen = /var/run/php/php-fpm.sock
99listen.mode = 0660
1010chdir = /www
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ if [ ! -f /etc/phpmyadmin/config.user.inc.php ]; then
1111fi
1212
1313mkdir -p /var/nginx/client_body_temp
14- chown nobody:nobody /sessions /var/nginx/client_body_temp
14+ chown nobody:nogroup /sessions /var/nginx/client_body_temp
1515mkdir -p /var/run/php/
16- chown nobody:nobody /var/run/php/
16+ chown nobody:nogroup /var/run/php/
1717touch /var/log/php-fpm.log
18- chown nobody:nobody /var/log/php-fpm.log
18+ chown nobody:nogroup /var/log/php-fpm.log
1919
2020if [ " $1 " = ' phpmyadmin' ]; then
2121 exec supervisord --nodaemon --configuration=" /etc/supervisord.conf" --loglevel=info
You can’t perform that action at this time.
0 commit comments