Use a sticky bit for tmp/

This commit is contained in:
William Desportes
2025-01-14 14:39:35 +01:00
parent ea2d5dc8fd
commit 04de4ca2ba
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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