mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 14:47:12 -04:00
Fix ownership of www-data home directory
This commit is contained in:
parent
3d7b44a321
commit
608dfe6c3d
2
Dockerfile
Normal file → Executable file
2
Dockerfile
Normal file → Executable file
@ -78,7 +78,7 @@ COPY update_ssmtp.sh /usr/local/bin/update_ssmtp.sh
|
|||||||
|
|
||||||
RUN chown www-data /etc/ssmtp /etc/ssmtp/ssmtp.conf && \
|
RUN chown www-data /etc/ssmtp /etc/ssmtp/ssmtp.conf && \
|
||||||
chmod +x /usr/local/bin/update_ssmtp.sh /usr/local/bin/start.sh && \
|
chmod +x /usr/local/bin/update_ssmtp.sh /usr/local/bin/start.sh && \
|
||||||
mkdir -p /var/www
|
mkdir -p /var/www && chown www-data /var/www
|
||||||
|
|
||||||
# Work around an aufs bug related to directory permissions:
|
# Work around an aufs bug related to directory permissions:
|
||||||
RUN mkdir -p /tmp && \
|
RUN mkdir -p /tmp && \
|
||||||
|
Loading…
Reference in New Issue
Block a user