Skip to content

Commit 0782f8c

Browse files
committed
fix: change 770 for directory to be able to list it
1 parent 23157be commit 0782f8c

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

14.0/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN adduser --disabled-password -u $UID --gid $GID --gecos '' odoo \
1515
&& chown -R odoo:root /var/log/odoo
1616

1717
COPY --chown=odoo:root --chmod=770 ./install /install
18-
COPY --chown=odoo:root --chmod=660 ./base_requirements.txt /odoo
19-
COPY --chown=odoo:root --chmod=660 ./extra_requirements.txt /odoo
18+
COPY --chown=odoo:root --chmod=770 ./base_requirements.txt /odoo
19+
COPY --chown=odoo:root --chmod=770 ./extra_requirements.txt /odoo
2020

2121
# Moved because there was a bug while installing `odoo-autodiscover`. There is
2222
# an accent in the contributor name
@@ -54,9 +54,9 @@ RUN set -x; \
5454
# wait on postgres
5555
RUN /install/dockerize.sh
5656

57-
COPY --chown=odoo:root --chmod=660 ./src_requirements.txt /odoo
57+
COPY --chown=odoo:root --chmod=770 ./src_requirements.txt /odoo
5858
COPY --chown=odoo:root --chmod=770 ./bin /odoo/odoo-bin
59-
COPY --chown=odoo:root --chmod=660 ./templates /templates
59+
COPY --chown=odoo:root --chmod=770 ./templates /templates
6060
COPY --chown=odoo:root --chmod=770 ./before-migrate-entrypoint.d /odoo/before-migrate-entrypoint.d
6161
COPY --chown=odoo:root --chmod=770 ./start-entrypoint.d /odoo/start-entrypoint.d
6262
COPY --chown=odoo:root --chmod=770 ./MANIFEST.in /odoo

15.0/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN adduser --disabled-password -u $UID --gid $GID --gecos '' odoo \
1515
&& chown -R odoo:root /var/log/odoo
1616

1717
COPY --chown=odoo:root --chmod=770 ./install /install
18-
COPY --chown=odoo:root --chmod=660 ./base_requirements.txt /odoo
19-
COPY --chown=odoo:root --chmod=660 ./extra_requirements.txt /odoo
18+
COPY --chown=odoo:root --chmod=770 ./base_requirements.txt /odoo
19+
COPY --chown=odoo:root --chmod=770 ./extra_requirements.txt /odoo
2020

2121
# Moved because there was a bug while installing `odoo-autodiscover`. There is
2222
# an accent in the contributor name
@@ -54,9 +54,9 @@ RUN set -x; \
5454
# wait on postgres
5555
RUN /install/dockerize.sh
5656

57-
COPY --chown=odoo:root --chmod=660 ./src_requirements.txt /odoo
57+
COPY --chown=odoo:root --chmod=770 ./src_requirements.txt /odoo
5858
COPY --chown=odoo:root --chmod=770 ./bin /odoo/odoo-bin
59-
COPY --chown=odoo:root --chmod=660 ./templates /templates
59+
COPY --chown=odoo:root --chmod=770 ./templates /templates
6060
COPY --chown=odoo:root --chmod=770 ./before-migrate-entrypoint.d /odoo/before-migrate-entrypoint.d
6161
COPY --chown=odoo:root --chmod=770 ./start-entrypoint.d /odoo/start-entrypoint.d
6262
COPY --chown=odoo:root --chmod=770 ./MANIFEST.in /odoo

16.0/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN adduser --disabled-password -u $UID --gid $GID --gecos '' odoo \
1515
&& chown -R odoo:root /var/log/odoo
1616

1717
COPY --chown=odoo:root --chmod=770 ./install /install
18-
COPY --chown=odoo:root --chmod=660 ./base_requirements.txt /odoo
19-
COPY --chown=odoo:root --chmod=660 ./extra_requirements.txt /odoo
18+
COPY --chown=odoo:root --chmod=770 ./base_requirements.txt /odoo
19+
COPY --chown=odoo:root --chmod=770 ./extra_requirements.txt /odoo
2020

2121
# Moved because there was a bug while installing `odoo-autodiscover`. There is
2222
# an accent in the contributor name
@@ -54,9 +54,9 @@ RUN set -x; \
5454
# wait on postgres
5555
RUN /install/dockerize.sh
5656

57-
COPY --chown=odoo:root --chmod=660 ./src_requirements.txt /odoo
57+
COPY --chown=odoo:root --chmod=770 ./src_requirements.txt /odoo
5858
COPY --chown=odoo:root --chmod=770 ./bin /odoo/odoo-bin
59-
COPY --chown=odoo:root --chmod=660 ./templates /templates
59+
COPY --chown=odoo:root --chmod=770 ./templates /templates
6060
COPY --chown=odoo:root --chmod=770 ./before-migrate-entrypoint.d /odoo/before-migrate-entrypoint.d
6161
COPY --chown=odoo:root --chmod=770 ./start-entrypoint.d /odoo/start-entrypoint.d
6262
COPY --chown=odoo:root --chmod=770 ./MANIFEST.in /odoo

17.0/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN adduser --disabled-password -u $UID --gid $GID --gecos '' odoo \
1515
&& chown -R odoo:root /var/log/odoo
1616

1717
COPY --chown=odoo:root --chmod=770 ./install /install
18-
COPY --chown=odoo:root --chmod=660 ./base_requirements.txt /odoo
19-
COPY --chown=odoo:root --chmod=660 ./extra_requirements.txt /odoo
18+
COPY --chown=odoo:root --chmod=770 ./base_requirements.txt /odoo
19+
COPY --chown=odoo:root --chmod=770 ./extra_requirements.txt /odoo
2020

2121
# Moved because there was a bug while installing `odoo-autodiscover`. There is
2222
# an accent in the contributor name
@@ -55,9 +55,9 @@ RUN set -x; \
5555
# wait on postgres
5656
RUN /install/dockerize.sh
5757

58-
COPY --chown=odoo:root --chmod=660 ./src_requirements.txt /odoo
58+
COPY --chown=odoo:root --chmod=770 ./src_requirements.txt /odoo
5959
COPY --chown=odoo:root --chmod=770 ./bin /odoo/odoo-bin
60-
COPY --chown=odoo:root --chmod=660 ./templates /templates
60+
COPY --chown=odoo:root --chmod=770 ./templates /templates
6161
COPY --chown=odoo:root --chmod=770 ./before-migrate-entrypoint.d /odoo/before-migrate-entrypoint.d
6262
COPY --chown=odoo:root --chmod=770 ./start-entrypoint.d /odoo/start-entrypoint.d
6363
COPY --chown=odoo:root --chmod=770 ./MANIFEST.in /odoo

18.0/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN adduser --disabled-password -u $UID --gid $GID --gecos '' odoo \
1515
&& chown -R odoo:root /var/log/odoo
1616

1717
COPY --chown=odoo:root --chmod=770 ./install /install
18-
COPY --chown=odoo:root --chmod=660 ./base_requirements.txt /odoo
19-
COPY --chown=odoo:root --chmod=660 ./extra_requirements.txt /odoo
18+
COPY --chown=odoo:root --chmod=770 ./base_requirements.txt /odoo
19+
COPY --chown=odoo:root --chmod=770 ./extra_requirements.txt /odoo
2020

2121
# Moved because there was a bug while installing `odoo-autodiscover`. There is
2222
# an accent in the contributor name
@@ -54,9 +54,9 @@ RUN set -x; \
5454
# wait on postgres
5555
RUN /install/dockerize.sh
5656

57-
COPY --chown=odoo:root --chmod=660 ./src_requirements.txt /odoo
57+
COPY --chown=odoo:root --chmod=770 ./src_requirements.txt /odoo
5858
COPY --chown=odoo:root --chmod=770 ./bin /odoo/odoo-bin
59-
COPY --chown=odoo:root --chmod=660 ./templates /templates
59+
COPY --chown=odoo:root --chmod=770 ./templates /templates
6060
COPY --chown=odoo:root --chmod=770 ./before-migrate-entrypoint.d /odoo/before-migrate-entrypoint.d
6161
COPY --chown=odoo:root --chmod=770 ./start-entrypoint.d /odoo/start-entrypoint.d
6262
COPY --chown=odoo:root --chmod=770 ./MANIFEST.in /odoo

0 commit comments

Comments
 (0)