Explorar el Código

run as app user and chmod 777 compiles dir

Henry Oswald hace 8 años
padre
commit
edf0125c2f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      services/clsi/entrypoint.sh

+ 2 - 1
services/clsi/entrypoint.sh

@@ -9,6 +9,7 @@ chown -R app:app /app/cache
 
 mkdir -p /app/compiles
 chown -R app:app /app/compiles
+chmod -R 777 /app/compiles #TODO why do I need this?
 
 ./bin/install_texlive_gce.sh
-exec "$@"
+exec runuser -u app "$@"