mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-08-24 02:24:16 -05:00
Use a sticky bit for tmp/
This commit is contained in:
@@ -120,7 +120,7 @@ RUN set -ex; \
|
||||
php -l /var/www/html/libraries/vendor_config.php; \
|
||||
find /var/www/html -type d -exec chmod 555 {} \;; \
|
||||
find /var/www/html -type f -exec chmod 444 {} \;; \
|
||||
chmod 777 /var/www/html/tmp;
|
||||
chmod 1777 /var/www/html/tmp;
|
||||
|
||||
# Copy configuration
|
||||
COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php
|
||||
|
||||
@@ -139,7 +139,7 @@ RUN set -ex; \
|
||||
php -l /var/www/html/libraries/vendor_config.php; \
|
||||
find /var/www/html -type d -exec chmod 555 {} \;; \
|
||||
find /var/www/html -type f -exec chmod 444 {} \;; \
|
||||
chmod 777 /var/www/html/tmp;
|
||||
chmod 1777 /var/www/html/tmp;
|
||||
|
||||
# Copy configuration
|
||||
COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php
|
||||
|
||||
+1
-1
@@ -140,7 +140,7 @@ RUN set -ex; \
|
||||
php -l /var/www/html/libraries/vendor_config.php; \
|
||||
find /var/www/html -type d -exec chmod 555 {} \;; \
|
||||
find /var/www/html -type f -exec chmod 444 {} \;; \
|
||||
chmod 777 /var/www/html/tmp;
|
||||
chmod 1777 /var/www/html/tmp;
|
||||
|
||||
# Copy configuration
|
||||
COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php
|
||||
|
||||
@@ -121,7 +121,7 @@ RUN set -ex; \
|
||||
php -l /var/www/html/libraries/vendor_config.php; \
|
||||
find /var/www/html -type d -exec chmod 555 {} \;; \
|
||||
find /var/www/html -type f -exec chmod 444 {} \;; \
|
||||
chmod 777 /var/www/html/tmp;
|
||||
chmod 1777 /var/www/html/tmp;
|
||||
|
||||
# Copy configuration
|
||||
COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php
|
||||
|
||||
+1
-1
@@ -137,7 +137,7 @@ RUN set -ex; \
|
||||
php -l /var/www/html/libraries/vendor_config.php; \
|
||||
find /var/www/html -type d -exec chmod 555 {} \;; \
|
||||
find /var/www/html -type f -exec chmod 444 {} \;; \
|
||||
chmod 777 /var/www/html/tmp;
|
||||
chmod 1777 /var/www/html/tmp;
|
||||
|
||||
# Copy configuration
|
||||
COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php
|
||||
|
||||
Reference in New Issue
Block a user