0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-12-26 02:56:13 +01:00

Give ownership for www-data to /var/www

This commit is contained in:
Rodrigo Aguilera 2018-03-10 17:32:26 +01:00
parent 5c05c9eba0
commit 5714672aa6
11 changed files with 22 additions and 22 deletions

View file

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View file

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html
%%VARIANT_EXTRAS%% %%VARIANT_EXTRAS%%

View file

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html
%%VARIANT_EXTRAS%% %%VARIANT_EXTRAS%%