diff --git a/web/web_1/Dockerfile b/web/web_1/Dockerfile index e3517d0..caa2ff0 100644 --- a/web/web_1/Dockerfile +++ b/web/web_1/Dockerfile @@ -2,4 +2,4 @@ FROM php:5.6-apache COPY /code /var/www/html/ -RUN chmod 755 /var/www/html/start.sh \ No newline at end of file +RUN chmod 751 /var/www/html/start.sh \ No newline at end of file diff --git a/web/web_2/Dockerfile b/web/web_2/Dockerfile index e3517d0..caa2ff0 100644 --- a/web/web_2/Dockerfile +++ b/web/web_2/Dockerfile @@ -2,4 +2,4 @@ FROM php:5.6-apache COPY /code /var/www/html/ -RUN chmod 755 /var/www/html/start.sh \ No newline at end of file +RUN chmod 751 /var/www/html/start.sh \ No newline at end of file diff --git a/web/web_3/Dockerfile b/web/web_3/Dockerfile index 573926a..492040c 100644 --- a/web/web_3/Dockerfile +++ b/web/web_3/Dockerfile @@ -2,6 +2,6 @@ FROM php:5.6-apache COPY /code /var/www/html/ -RUN chmod 4755 /bin/cat && chmod 777 /var/www/html/index.php && chmod 777 /var/www/html/option.php && chmod 777 /var/www/html/shell.sh && chmod /var/www/html/start.sh +RUN chmod 4755 /bin/cat && chmod 777 /var/www/html/index.php && chmod 777 /var/www/html/option.php && chmod 751 /var/www/html/shell.sh && chmod 751 /var/www/html/start.sh diff --git a/web/web_4/Dockerfile b/web/web_4/Dockerfile index e3517d0..caa2ff0 100644 --- a/web/web_4/Dockerfile +++ b/web/web_4/Dockerfile @@ -2,4 +2,4 @@ FROM php:5.6-apache COPY /code /var/www/html/ -RUN chmod 755 /var/www/html/start.sh \ No newline at end of file +RUN chmod 751 /var/www/html/start.sh \ No newline at end of file