Skip to content

Commit

Permalink
Fix missing permissions also on .cache
Browse files Browse the repository at this point in the history
  • Loading branch information
daquinoaldo authored and niondir committed Jul 7, 2020
1 parent b85c6d9 commit a07b831
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ ENV RESTIC_JOB_ARGS=""
ENV MAILX_ARGS=""

# openshift fix
RUN chgrp -R 0 /mnt && \
RUN mkdir /.cache && \
chgrp -R 0 /.cache && \
chmod -R g=u /.cache && \
chgrp -R 0 /mnt && \
chmod -R g=u /mnt && \
chgrp -R 0 /var/spool/cron/crontabs/root && \
chmod -R g=u /var/spool/cron/crontabs/root && \
Expand Down

0 comments on commit a07b831

Please sign in to comment.