Skip to content

Commit 86c9f47

Browse files
coliseeRobin Alexander
andauthored
Fix issue 148 (missing permissions) (#149)
Co-authored-by: Robin Alexander <colisee@hotmail>
1 parent 0b940d9 commit 86c9f47

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

Dockerfile

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,21 @@ RUN set -ex; \
9292
mkdir /var/www/html/Web/uploads/reservation
9393

9494
RUN set -ex; \
95-
chown www-data:root /var/www/html/tpl_c; \
96-
chmod g+rwx /var/www/html/tpl_c; \
97-
chgrp root /var/www/html/config /var/www/html/Web/uploads/images \
98-
/var/www/html/Web/uploads/reservation; \
99-
chmod g+rwx /var/www/html/config /var/www/html/Web/uploads/images \
100-
/var/www/html/Web/uploads/reservation
95+
chown www-data:root \
96+
/var/www/html/config \
97+
/var/www/html/tpl_c \
98+
/var/www/html/Web/uploads/images \
99+
/var/www/html/Web/uploads/reservation; \
100+
chmod g+rwx \
101+
/var/www/html/config \
102+
/var/www/html/tpl_c \
103+
/var/www/html/Web/uploads/images \
104+
/var/www/html/Web/uploads/reservation; \
105+
chown --recursive www-data:root \
106+
/var/www/html/plugins; \
107+
chmod --recursive g+rwx \
108+
/var/www/html/plugins
109+
101110

102111
# Environment
103112
USER www-data

0 commit comments

Comments
 (0)