summary refs log tree commit diff
path: root/changelog.d/11209.docker
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-11-01 13:55:30 +0000
committerGitHub <noreply@github.com>2021-11-01 13:55:30 +0000
commit0b99d4c8d219aca3f8a0e4f3542bb67dfc016420 (patch)
tree777fb88d2182addacc0da1d1539954ae2fa8769b /changelog.d/11209.docker
parentSupport Client-Server API r0.6.1 (#11097) (diff)
downloadsynapse-0b99d4c8d219aca3f8a0e4f3542bb67dfc016420.tar.xz
Docker: avoid changing userid unnecessarily (#11209)
* Docker image: avoid changing user during `generate`

The intention was always that the config files get written as the initial user
(normally root) - only the data directory needs to be writable by Synapse. This
got changed in https://github.com/matrix-org/synapse/pull/5970, but that seems
to have been a mistake.

* Avoid changing user if no explicit UID is given

* changelog
Diffstat (limited to 'changelog.d/11209.docker')
-rw-r--r--changelog.d/11209.docker1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11209.docker b/changelog.d/11209.docker
new file mode 100644
index 0000000000..838b165ac9
--- /dev/null
+++ b/changelog.d/11209.docker
@@ -0,0 +1 @@
+Avoid changing userid when started as a non-root user, and no explicit `UID` is set.