Forráskód Böngészése

msm-change-logrotate-permissions (#827)

Miguel Serrano 5 éve
szülő
commit
3ca5d71945
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -77,6 +77,7 @@ ADD ${baseDir}/nginx/sharelatex.conf /etc/nginx/sites-enabled/sharelatex.conf
 # Configure log rotation
 # Configure log rotation
 # ----------------------
 # ----------------------
 ADD ${baseDir}/logrotate/sharelatex /etc/logrotate.d/sharelatex
 ADD ${baseDir}/logrotate/sharelatex /etc/logrotate.d/sharelatex
+RUN chmod 644 /etc/logrotate.d/sharelatex
 
 
 
 
 # Copy Phusion Image startup scripts to its location
 # Copy Phusion Image startup scripts to its location