From: Sam Saffron Date: Tue, 7 Jul 2020 00:04:34 +0000 (+1000) Subject: improve permissions in tmp directory X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5f7f09539cac22ee995eb394bccf7369b8646efa;p=discourse_docker.git improve permissions in tmp directory previously could be owned by the root group --- diff --git a/templates/web.template.yml b/templates/web.template.yml index 7ddddd7..fc49180 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -92,6 +92,8 @@ run: - git pull - git fetch origin $version - git checkout $version + - mkdir -p tmp + - chown discourse:www-data tmp - mkdir -p tmp/pids - mkdir -p tmp/sockets - touch tmp/.gitkeep