fix(elementweb): remove override caps & use new temp location #157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "reduce-element-web-permissions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Element Web switched to the nginx-unprivileged container in its latest version [0].
This image variant stores all the nginx related runtime files in the /tmp folder, so we added it as a Tmpfs with a reasonable size, should caching be used.
Also the new image does not need the permissions override capability, as it was designed to run root-less and stores everything with the nginx user's permissions already.
[0] https://github.com/element-hq/element-web/pull/29353
Putting things directly in
/tmp
seems like a strange choice by the unprivileged nginx container, but in regards to this being a container it's probably fine?Anyways, changes LGTM
Yeah but thats how they designed it idk