projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8a754
)
improve permissions in tmp directory
author
Sam Saffron
<sam.saffron@gmail.com>
Tue, 7 Jul 2020 00:04:34 +0000
(10:04 +1000)
committer
Sam Saffron
<sam.saffron@gmail.com>
Tue, 7 Jul 2020 00:04:34 +0000
(10:04 +1000)
previously could be owned by the root group
templates/web.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index 7ddddd76f3336179b67474fd142ef4f76d0f3f63..fc4918023e7acec80c742fc59d5b974c8efb5048 100644
(file)
--- 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